Changeset 5ab1648 in mainline for kernel/generic/src/proc/task.c
- Timestamp:
- 2009-08-11T15:48:54Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c68a05d
- Parents:
- 5a8fbcb9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r5a8fbcb9 r5ab1648 197 197 interrupts_restore(ipl); 198 198 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 206 199 return ta; 207 200 } … … 235 228 if (atomic_predec(&t->as->refcount) == 0) 236 229 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));244 230 245 231 free(t);
Note:
See TracChangeset
for help on using the changeset viewer.