Changeset b22b0a94 in mainline for uspace/lib/c/generic/task.c
- Timestamp:
- 2019-08-07T05:39:54Z (5 years ago)
- Children:
- b8341bc
- Parents:
- 5cd2290
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-10-19 21:34:52)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 05:39:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/task.c
r5cd2290 rb22b0a94 3 3 * Copyright (c) 2008 Jiri Svoboda 4 4 * Copyright (c) 2014 Martin Sucha 5 * Copyright (c) 2015 Michal Koutny 5 6 * All rights reserved. 6 7 * … … 53 54 54 55 static async_sess_t *session_taskman = NULL; 56 static task_event_handler_t task_event_handler = NULL; 55 57 56 58 task_id_t task_get_id(void) … … 470 472 } 471 473 474 void task_set_event_handler(task_event_handler_t handler) 475 { 476 task_event_handler = handler; 477 // TODO implement logic for calling the handler 478 } 472 479 473 480 void __task_init(async_sess_t *sess)
Note:
See TracChangeset
for help on using the changeset viewer.