Changes in kernel/generic/src/proc/task.c [5ab1648:121966e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r5ab1648 r121966e 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 199 206 return ta; 200 207 } … … 228 235 if (atomic_predec(&t->as->refcount) == 0) 229 236 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)); 230 244 231 245 free(t);
Note:
See TracChangeset
for help on using the changeset viewer.