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

Changeset adb49f58 in mainline for uspace/lib/libc/include/task.h


Ignore:
Timestamp:
2009-07-06T20:16:15Z (12 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master
Children:
95bc57c
Parents:
0315679
Message:

Allow to determine whether a task returned value before terminatign.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/task.h

    r0315679 radb49f58  
    4040typedef uint64_t task_id_t;
    4141
     42typedef enum {
     43        TASK_EXIT_NORMAL,
     44        TASK_EXIT_UNEXPECTED
     45} task_exit_t;
     46
    4247extern task_id_t task_get_id(void);
    4348extern int task_set_name(const char *name);
    4449extern task_id_t task_spawn(const char *path, char *const argv[]);
    45 extern int task_wait(task_id_t id, int *retval);
     50extern int task_wait(task_id_t id, task_exit_t *texit, int *retval);
    4651extern int task_retval(int val);
    4752
Note: See TracChangeset for help on using the changeset viewer.