Changeset 5044114 in mainline
- Timestamp:
- 2019-08-07T04:46:21Z (5 years ago)
- Children:
- 55fe220
- Parents:
- e0e7eba
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-10-12 22:21:12)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 04:46:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/task.c
re0e7eba r5044114 395 395 errno_t task_wait(task_wait_t *wait, task_exit_t *texit, int *retval) 396 396 { 397 assert(texit);398 assert(retval);399 400 397 errno_t rc; 401 398 async_wait_for(wait->aid, &rc); 402 399 403 400 if (rc == EOK) { 404 *texit = ipc_get_arg1(&wait->result); 405 *retval = ipc_get_arg2(&wait->result); 401 if (wait->flags & TASK_WAIT_EXIT && texit) 402 *texit = ipc_get_arg1(wait->result); 403 if (wait->flags & TASK_WAIT_RETVAL && retval) 404 *retval = ipc_get_arg2(wait->result); 406 405 } 407 406
Note:
See TracChangeset
for help on using the changeset viewer.