Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5ab1648 in mainline for kernel/generic/src/proc/task.c


Ignore:
Timestamp:
2009-08-11T15:48:54Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
7c68a05d
Parents:
5a8fbcb
Message:

remove obsolete TASK_WAIT notification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    r5a8fbcb r5ab1648  
    197197        interrupts_restore(ipl);
    198198       
    199         /*
    200          * Notify about task creation.
    201          */
    202         if (event_is_subscribed(EVENT_WAIT))
    203                 event_notify_3(EVENT_WAIT, TASK_CREATE, LOWER32(ta->taskid),
    204                     UPPER32(ta->taskid));
    205        
    206199        return ta;
    207200}
     
    235228        if (atomic_predec(&t->as->refcount) == 0)
    236229                as_destroy(t->as);
    237        
    238         /*
    239          * Notify about task destruction.
    240          */
    241         if (event_is_subscribed(EVENT_WAIT))
    242                 event_notify_3(EVENT_WAIT, TASK_DESTROY, LOWER32(t->taskid),
    243                     UPPER32(t->taskid));
    244230       
    245231        free(t);
Note: See TracChangeset for help on using the changeset viewer.