Changeset 012dd8e in mainline for uspace/srv/taskman/event.c
- Timestamp:
- 2019-08-07T09:15:30Z (6 years ago)
- Children:
- e8747bd8
- Parents:
- 780c8ce
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-01 00:08:04)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 09:15:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/taskman/event.c
r780c8ce r012dd8e 137 137 /* Nothing to wait for anymore */ 138 138 if (answer) { 139 async_answer_0(pr->callid, EIN VAL);139 async_answer_0(pr->callid, EINTR); 140 140 } 141 141 } else { … … 145 145 } else if (answer) { 146 146 if ((pr->flags & TASK_WAIT_BOTH) && match == TASK_WAIT_EXIT) { 147 async_answer_1(pr->callid, EINVAL, t->exit); 147 /* No sense to wait for both anymore */ 148 async_answer_1(pr->callid, EINTR, t->exit); 148 149 } else { 149 150 /* Send both exit status and retval, caller … … 253 254 pr->callid = callid; 254 255 } 255 // TODO remove printf("%s: %llu: %x, %x, %i\n", __func__, pr->id, flags, pr->flags, reuse);256 256 257 257 finish:
Note:
See TracChangeset
for help on using the changeset viewer.