Changeset 241f1985 in mainline for uspace/lib/c/generic/task.c
- Timestamp:
- 2019-08-31T10:45:17Z (6 years ago)
- Children:
- 102f641
- Parents:
- f92b315
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-31 10:45:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/task.c
rf92b315 r241f1985 385 385 if (rc == EOK || rc == EINTR) { 386 386 if (wait->flags & TASK_WAIT_EXIT && texit) 387 *texit = ipc_get_arg1( wait->result);387 *texit = ipc_get_arg1(&wait->result); 388 388 if (wait->flags & TASK_WAIT_RETVAL && retval) 389 *retval = ipc_get_arg2( wait->result);389 *retval = ipc_get_arg2(&wait->result); 390 390 391 391 } … … 394 394 /* Is there another wait to be done? Wait for it! */ 395 395 int old_flags = wait->flags; 396 wait->flags = ipc_get_arg3( wait->result);396 wait->flags = ipc_get_arg3(&wait->result); 397 397 if (wait->flags != 0 && (old_flags & TASK_WAIT_BOTH)) { 398 398 rc = task_setup_wait(wait->tid, wait); … … 438 438 return EIO; 439 439 440 errno_t rc = (int)async_req_2_0(exch, TASKMAN_RETVAL, val, wait_for_exit);440 errno_t rc = async_req_2_0(exch, TASKMAN_RETVAL, val, wait_for_exit); 441 441 taskman_exchange_end(exch); 442 442
Note:
See TracChangeset
for help on using the changeset viewer.