Subversion Repositories HelenOS-historic

Rev

Rev 1489 | Rev 1518 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1489 Rev 1503
Line 358... Line 358...
358
ipc_callid_t ipc_wait_for_call_timeout(ipc_call_t *call, uint32_t usec)
358
ipc_callid_t ipc_wait_for_call_timeout(ipc_call_t *call, uint32_t usec)
359
{
359
{
360
    ipc_callid_t callid;
360
    ipc_callid_t callid;
361
 
361
 
362
    do {
362
    do {
363
        callid = ipc_wait_cycle(call, usec, SYNCH_BLOCKING);
363
        callid = ipc_wait_cycle(call, usec, SYNCH_FLAGS_NONE);
364
    } while (callid & IPC_CALLID_ANSWERED);
364
    } while (callid & IPC_CALLID_ANSWERED);
365
 
365
 
366
    return callid;
366
    return callid;
367
}
367
}
368
 
368
 
Line 375... Line 375...
375
ipc_callid_t ipc_trywait_for_call(ipc_call_t *call)
375
ipc_callid_t ipc_trywait_for_call(ipc_call_t *call)
376
{
376
{
377
    ipc_callid_t callid;
377
    ipc_callid_t callid;
378
 
378
 
379
    do {
379
    do {
380
        callid = ipc_wait_cycle(call, SYNCH_NO_TIMEOUT, SYNCH_NON_BLOCKING);
380
        callid = ipc_wait_cycle(call, SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NON_BLOCKING);
381
    } while (callid & IPC_CALLID_ANSWERED);
381
    } while (callid & IPC_CALLID_ANSWERED);
382
 
382
 
383
    return callid;
383
    return callid;
384
}
384
}
385
 
385