Changeset 4ff66ae in mainline for uspace/lib/c/generic
- 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)
- Location:
- uspace/lib/c/generic
- Files:
-
- 2 edited
-
task_event.c (modified) (2 diffs)
-
taskman.c (modified) (1 diff)
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); -
uspace/lib/c/generic/taskman.c
rbb57a00 r4ff66ae 127 127 */ 128 128 129 int taskman_dump_events(void)130 {131 assert(session_taskman);132 133 async_exch_t *exch = async_exchange_begin(session_taskman);134 int rc = async_req_0_0(exch, TASKMAN_DUMP_EVENTS);135 taskman_exchange_end(exch);136 137 return rc;138 }139 140 129 async_sess_t *taskman_get_session(void) 141 130 {
Note:
See TracChangeset
for help on using the changeset viewer.
