Changeset b8341bc in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2019-08-07T05:42:02Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
c675ab1
Parents:
b22b0a94
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-10-19 22:25:17)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 05:42:02)
Message:

taskman: IPC builerplate for task event API

  • Actual implementation tomorrow…

Conflicts:

uspace/lib/c/include/task.h

Location:
uspace/lib/c/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/taskman.h

    rb22b0a94 rb8341bc  
    4141typedef enum {
    4242        TASKMAN_WAIT = IPC_FIRST_USER_METHOD,
    43         TASKMAN_RETVAL
     43        TASKMAN_RETVAL,
     44        TASKMAN_EVENT_CALLBACK
    4445} taskman_request_t;
     46
     47typedef enum {
     48        TASKMAN_EV_TASK = IPC_FIRST_USER_METHOD
     49} taskman_event_t;
    4550
    4651typedef enum {
  • uspace/lib/c/include/task.h

    rb22b0a94 rb8341bc  
    7575
    7676extern errno_t task_retval(int);
    77 extern void task_set_event_handler(task_event_handler_t);
     77extern int task_register_event_handler(task_event_handler_t);
    7878
    7979#endif
Note: See TracChangeset for help on using the changeset viewer.