Changeset fcc4f86 in mainline


Ignore:
Timestamp:
2019-08-07T09:56:27Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
ce08421
Parents:
c64e254
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-11-05 00:27:46)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 09:56:27)
Message:

taskman: Unregister terminated listeners

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/taskman/event.c

    rc64e254 rfcc4f86  
    312312
    313313        hash_table_remove_item(&task_hash_table, &t->link);
    314         // TODO remove from listeners too!
     314
     315        fibril_rwlock_write_lock(&listeners_lock);
     316        list_remove(&t->listeners);
     317        fibril_rwlock_write_unlock(&listeners_lock);
    315318
    316319finish:
Note: See TracChangeset for help on using the changeset viewer.