Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1702 | Rev 1780 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | _semaphore_down_timeout((s),SYNCH_NO_TIMEOUT,SYNCH_FLAGS_NON_BLOCKING) |
51 | _semaphore_down_timeout((s),SYNCH_NO_TIMEOUT,SYNCH_FLAGS_NON_BLOCKING) |
52 | #define semaphore_down_timeout(s,usec) \ |
52 | #define semaphore_down_timeout(s,usec) \ |
53 | _semaphore_down_timeout((s),(usec),SYNCH_FLAGS_NONE) |
53 | _semaphore_down_timeout((s),(usec),SYNCH_FLAGS_NONE) |
54 | 54 | ||
55 | extern void semaphore_initialize(semaphore_t *s, int val); |
55 | extern void semaphore_initialize(semaphore_t *s, int val); |
56 | extern int _semaphore_down_timeout(semaphore_t *s, __u32 usec, int flags); |
56 | extern int _semaphore_down_timeout(semaphore_t *s, uint32_t usec, int flags); |
57 | extern void semaphore_up(semaphore_t *s); |
57 | extern void semaphore_up(semaphore_t *s); |
58 | 58 | ||
59 | #endif |
59 | #endif |
60 | 60 | ||
61 | 61 |