Changeset 4ff66ae in mainline for uspace/lib/c/generic/task_event.c
- Timestamp:
- 2019-08-07T11:18:35Z (6 years ago)
- Children:
- 87a31ef2
- Parents:
- bb57a00
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-13 03:13:03)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 11:18:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/task_event.c
rbb57a00 r4ff66ae 83 83 * Blocks, calls handler in another fibril 84 84 */ 85 int task_register_event_handler(task_event_handler_t handler )85 int task_register_event_handler(task_event_handler_t handler, bool past_events) 86 86 { 87 87 /* … … 95 95 96 96 async_exch_t *exch = taskman_exchange_begin(); 97 aid_t req = async_send_ 0(exch, TASKMAN_EVENT_CALLBACK, NULL);97 aid_t req = async_send_1(exch, TASKMAN_EVENT_CALLBACK, past_events, NULL); 98 98 99 99 int rc = async_connect_to_me(exch, 0, 0, 0, taskman_event_conn, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.