Changeset 116d1ef4 in mainline for generic/src/synch/semaphore.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/synch/semaphore.c
r01ebbdf r116d1ef4 68 68 * @param s Semaphore. 69 69 * @param usec Timeout in microseconds. 70 * @param trydown Switches between blocking and non-blocking mode.70 * @param flags Select mode of operation. 71 71 * 72 72 * For exact description of possible combinations of 73 * usec and trydown, see comment for waitq_sleep_timeout().73 * usec and flags, see comment for waitq_sleep_timeout(). 74 74 * 75 75 * @return See comment for waitq_sleep_timeout(). 76 76 */ 77 int _semaphore_down_timeout(semaphore_t *s, __u32 usec, int trydown)77 int _semaphore_down_timeout(semaphore_t *s, __u32 usec, int flags) 78 78 { 79 return waitq_sleep_timeout(&s->wq, usec, trydown);79 return waitq_sleep_timeout(&s->wq, usec, flags); 80 80 } 81 81
Note:
See TracChangeset
for help on using the changeset viewer.