Changeset cc27c8c5 in mainline for uspace/lib/libc/generic/async.c


Ignore:
Timestamp:
2009-06-08T18:13:00Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bac82eeb
Parents:
d9c8c81
Message:

A little bit of cleanup and a remedy for great confusion introduced in revision 2483.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/async.c

    rd9c8c81 rcc27c8c5  
    551551        /* Answer all remaining messages with EHANGUP */
    552552        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);
    556557                list_remove(&msg->link);
    557558                ipc_answer_0(msg->callid, EHANGUP);
     
    718719                suseconds_t timeout;
    719720                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);
    722723                       
    723724                        struct timeval tv;
     
    736737               
    737738                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);
    740741               
    741742                if (!callid) {
Note: See TracChangeset for help on using the changeset viewer.