Changeset ab6edb6 in mainline for uspace/lib/c/generic/async/client.c
- Timestamp:
- 2018-06-26T17:34:48Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e768aea
- Parents:
- b59318e
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-25 19:28:19)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-26 17:34:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async/client.c
rb59318e rab6edb6 372 372 373 373 /* Leave the async_futex locked when entering this function */ 374 fibril_switch(FIBRIL_TO_MANAGER); 375 376 /* Futex is up automatically after fibril_switch */ 374 fibril_switch(FIBRIL_FROM_BLOCKED); 375 futex_unlock(&async_futex); 377 376 378 377 done: … … 445 444 446 445 /* Leave the async_futex locked when entering this function */ 447 fibril_switch(FIBRIL_TO_MANAGER); 448 449 /* Futex is up automatically after fibril_switch */ 446 fibril_switch(FIBRIL_FROM_BLOCKED); 447 futex_unlock(&async_futex); 450 448 451 449 if (!msg->done) … … 511 509 512 510 /* Leave the async_futex locked when entering this function */ 513 fibril_switch(FIBRIL_TO_MANAGER); 514 515 /* Futex is up automatically after fibril_switch() */ 511 fibril_switch(FIBRIL_FROM_BLOCKED); 512 futex_unlock(&async_futex); 516 513 } 517 514
Note:
See TracChangeset
for help on using the changeset viewer.