Changeset 116d1ef4 in mainline for generic/src/ipc/sysipc.c
- Timestamp:
- 2006-06-02T12:26:50Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d0c5901
- Parents:
- 01ebbdf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/ipc/sysipc.c
r01ebbdf r116d1ef4 503 503 * @param calldata Pointer to buffer where the call/answer data is stored 504 504 * @param usec Timeout. See waitq_sleep_timeout() for explanation. 505 * @param nonblockingSee waitq_sleep_timeout() for explanation.505 * @param flags Select mode of sleep operation. See waitq_sleep_timeout() for explanation. 506 506 * 507 507 * @return Callid, if callid & 1, then the call is answer 508 508 */ 509 __native sys_ipc_wait_for_call(ipc_data_t *calldata, __u32 usec, int nonblocking)509 __native sys_ipc_wait_for_call(ipc_data_t *calldata, __u32 usec, int flags) 510 510 { 511 511 call_t *call; 512 512 513 513 restart: 514 call = ipc_wait_for_call(&TASK->answerbox, usec, nonblocking);514 call = ipc_wait_for_call(&TASK->answerbox, usec, flags | SYNCH_FLAGS_INTERRUPTIBLE); 515 515 if (!call) 516 516 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.