Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2491 → Rev 2492

/trunk/uspace/lib/libc/generic/fibril.c
254,7 → 254,8
 
/** Add a fibril to the ready list.
*
* @param fid Pinter to the fibril structure of the fibril to be added.
* @param fid Pinter to the fibril structure of the fibril to be
* added.
*/
void fibril_add_ready(fid_t fid)
{
/trunk/uspace/lib/libc/generic/async.c
356,11 → 356,17
insert_timeout(&conn->wdata);
 
conn->wdata.active = 0;
/*
* Note: the current fibril will be rescheduled either due to a
* timeout or due to an arriving message destined to it. In the
* former case, handle_expired_timeouts() and, in the latter
* case, route_call() will perform the wakeup.
*/
fibril_schedule_next_adv(FIBRIL_TO_MANAGER);
/*
* Futex is up after getting back from async_manager get it
* again.
*/
*/
futex_down(&async_futex);
if (usecs && conn->wdata.timedout &&
list_empty(&conn->msg_queue)) {