Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1532 → Rev 1531

/uspace/trunk/libc/generic/async.c
286,9 → 286,6
assert(PS_connection);
 
if (usecs < 0) /* TODO: let it get through the ipc_call once */
return 0;
 
futex_down(&async_futex);
 
if (usecs) {
658,10 → 655,6
amsg_t *msg = (amsg_t *) amsgid;
connection_t *conn;
 
/* TODO: Let it go through the event read at least once */
if (timeout < 0)
return ETIMEOUT;
 
futex_down(&async_futex);
if (msg->done) {
futex_up(&async_futex);