Changeset 103939e in mainline for kernel/generic/src/proc/thread.c


Ignore:
Timestamp:
2019-08-06T20:15:57Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
0a8f070
Parents:
fb13b44
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-08-10 13:51:22)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-06 20:15:57)
Message:

Create EVENT_EXIT for task termination

Conflicts:

kernel/generic/src/proc/task.c
kernel/generic/src/proc/thread.c

File:
1 edited

Legend:

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

    rfb13b44 r103939e  
    522522                        sys_waitq_task_cleanup();
    523523                        LOG("Cleanup of task %" PRIu64 " completed.", TASK->taskid);
     524
     525                        /*
     526                         * Notify about task exit, it is meant to be signalled
     527                         * after any IPC cleanup operations. Ignore any errors.
     528                         */
     529                        (void)event_notify_2(EVENT_EXIT, false,
     530                            LOWER32(TASK->taskid), UPPER32(TASK->taskid));
    524531                }
    525532        }
Note: See TracChangeset for help on using the changeset viewer.