Rev 1757 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1757 | Rev 1780 | ||
---|---|---|---|
Line 76... | Line 76... | ||
76 | * For exact description of possible combinations of |
76 | * For exact description of possible combinations of |
77 | * usec and flags, see comment for waitq_sleep_timeout(). |
77 | * usec and flags, see comment for waitq_sleep_timeout(). |
78 | * |
78 | * |
79 | * @return See comment for waitq_sleep_timeout(). |
79 | * @return See comment for waitq_sleep_timeout(). |
80 | */ |
80 | */ |
81 | int _semaphore_down_timeout(semaphore_t *s, __u32 usec, int flags) |
81 | int _semaphore_down_timeout(semaphore_t *s, uint32_t usec, int flags) |
82 | { |
82 | { |
83 | return waitq_sleep_timeout(&s->wq, usec, flags); |
83 | return waitq_sleep_timeout(&s->wq, usec, flags); |
84 | } |
84 | } |
85 | 85 | ||
86 | /** Semaphore up |
86 | /** Semaphore up |