Changeset 116d3f6f in mainline for uspace/lib/libc/generic/async.c
- Timestamp:
- 2007-10-03T06:55:56Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 18525c5
- Parents:
- 5b5d25f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/async.c
r5b5d25f r116d3f6f 363 363 * case, route_call() will perform the wakeup. 364 364 */ 365 fibril_s chedule_next_adv(FIBRIL_TO_MANAGER);365 fibril_switch(FIBRIL_TO_MANAGER); 366 366 /* 367 367 * Futex is up after getting back from async_manager get it … … 585 585 586 586 while (1) { 587 if (fibril_s chedule_next_adv(FIBRIL_FROM_MANAGER)) {587 if (fibril_switch(FIBRIL_FROM_MANAGER)) { 588 588 futex_up(&async_futex); 589 589 /* … … 804 804 msg->wdata.inlist = 0; 805 805 /* Leave the async_futex locked when entering this function */ 806 fibril_s chedule_next_adv(FIBRIL_TO_MANAGER);807 /* futex is up automatically after fibril_s chedule_next...*/806 fibril_switch(FIBRIL_TO_MANAGER); 807 /* futex is up automatically after fibril_switch...*/ 808 808 done: 809 809 if (retval) … … 843 843 844 844 /* Leave the async_futex locked when entering this function */ 845 fibril_s chedule_next_adv(FIBRIL_TO_MANAGER);846 /* futex is up automatically after fibril_s chedule_next...*/845 fibril_switch(FIBRIL_TO_MANAGER); 846 /* futex is up automatically after fibril_switch...*/ 847 847 848 848 if (!msg->done) … … 885 885 insert_timeout(&msg->wdata); 886 886 /* Leave the async_futex locked when entering this function */ 887 fibril_s chedule_next_adv(FIBRIL_TO_MANAGER);888 /* futex is up automatically after fibril_s chedule_next_adv()...*/887 fibril_switch(FIBRIL_TO_MANAGER); 888 /* futex is up automatically after fibril_switch()...*/ 889 889 free(msg); 890 890 }
Note:
See TracChangeset
for help on using the changeset viewer.