Rev 1757 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1757 | Rev 1780 | ||
|---|---|---|---|
| Line 85... | Line 85... | ||
| 85 | * Note that when SYNCH_FLAGS_NON_BLOCKING is specified here, |
85 | * Note that when SYNCH_FLAGS_NON_BLOCKING is specified here, |
| 86 | * ESYNCH_WOULD_BLOCK is always returned. |
86 | * ESYNCH_WOULD_BLOCK is always returned. |
| 87 | * |
87 | * |
| 88 | * @return See comment for waitq_sleep_timeout(). |
88 | * @return See comment for waitq_sleep_timeout(). |
| 89 | */ |
89 | */ |
| 90 | int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, __u32 usec, int flags) |
90 | int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, uint32_t usec, int flags) |
| 91 | { |
91 | { |
| 92 | int rc; |
92 | int rc; |
| 93 | ipl_t ipl; |
93 | ipl_t ipl; |
| 94 | 94 | ||
| 95 | ipl = waitq_sleep_prepare(&cv->wq); |
95 | ipl = waitq_sleep_prepare(&cv->wq); |