Changeset cc27c8c5 in mainline for uspace/lib/libc/generic/async.c
- Timestamp:
- 2009-06-08T18:13:00Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bac82eeb
- Parents:
- d9c8c81
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/async.c
rd9c8c81 rcc27c8c5 551 551 /* Answer all remaining messages with EHANGUP */ 552 552 while (!list_empty(&FIBRIL_connection->msg_queue)) { 553 msg_t *msg 554 = list_get_instance(FIBRIL_connection->msg_queue.next, msg_t, link); 555 553 msg_t *msg; 554 555 msg = list_get_instance(FIBRIL_connection->msg_queue.next, 556 msg_t, link); 556 557 list_remove(&msg->link); 557 558 ipc_answer_0(msg->callid, EHANGUP); … … 718 719 suseconds_t timeout; 719 720 if (!list_empty(&timeout_list)) { 720 awaiter_t *waiter 721 = list_get_instance(timeout_list.next,awaiter_t, link);721 awaiter_t *waiter = list_get_instance(timeout_list.next, 722 awaiter_t, link); 722 723 723 724 struct timeval tv; … … 736 737 737 738 ipc_call_t call; 738 ipc_callid_t callid 739 = ipc_wait_cycle(&call, timeout,SYNCH_FLAGS_NONE);739 ipc_callid_t callid = ipc_wait_cycle(&call, timeout, 740 SYNCH_FLAGS_NONE); 740 741 741 742 if (!callid) {
Note:
See TracChangeset
for help on using the changeset viewer.