Changeset 1fb4a49 in mainline for abi


Ignore:
Timestamp:
2019-08-07T05:34:50Z (7 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
5cd2290
Parents:
3ea98e8
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-10-18 10:51:05)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 05:34:50)
Message:

kernel: Add exit reason parameter to EVENT_EXIT

  • So that own termination can be distinguished from kills by (typically) third party.
  • Translation from exit_reason_t to task_exit_t is left to uspace (taskman).

Conflicts:

kernel/generic/include/proc/task.h
kernel/generic/src/proc/task.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/abi/proc/task.h

    r3ea98e8 r1fb4a49  
    4040typedef uint64_t task_id_t;
    4141
     42typedef enum {
     43        /** Task terminated synchronously on its own request. */
     44        EXIT_REASON_SELF,
     45        /** Task was killed by kill request (own or outer). */
     46        EXIT_REASON_KILLED
     47} exit_reason_t;
     48
    4249#endif
    4350
Note: See TracChangeset for help on using the changeset viewer.