Changeset a097c50 in mainline
- Timestamp:
- 2019-08-07T10:08:48Z (6 years ago)
- Children:
- 7cce333
- Parents:
- ed5367b
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-06 00:12:39)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 10:08:48)
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/proc/task_anywait.c
red5367b ra097c50 39 39 static task_id_t task_id; 40 40 static task_exit_t last_texit; 41 static boollast_flags;41 static int last_flags; 42 42 static int last_retval; 43 43 static bool handler_hit; -
uspace/srv/taskman/event.c
red5367b ra097c50 69 69 { 70 70 int flags = 0; 71 if (task->retval_type == RVAL_SET) { 72 flags |= TASK_WAIT_RETVAL; 73 } 74 71 75 if (task->exit != TASK_EXIT_RUNNING) { 72 76 flags |= TASK_WAIT_EXIT; 73 77 if (task->retval_type == RVAL_SET_EXIT) { 74 78 flags |= TASK_WAIT_RETVAL; 75 } 76 } 77 if (task->retval_type == RVAL_SET) { 78 flags |= TASK_WAIT_RETVAL; 79 } 80 79 } else { 80 /* Don't notify retval of exited task */ 81 flags &= ~TASK_WAIT_RETVAL; 82 } 83 } 81 84 return flags; 82 85 }
Note:
See TracChangeset
for help on using the changeset viewer.