Rev 788 | Rev 1375 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 788 | Rev 1156 | ||
|---|---|---|---|
| Line 52... | Line 52... | ||
| 52 | }; |
52 | }; |
| 53 | 53 | ||
| 54 | #define waitq_sleep(wq) \ |
54 | #define waitq_sleep(wq) \ |
| 55 | waitq_sleep_timeout((wq),SYNCH_NO_TIMEOUT,SYNCH_BLOCKING) |
55 | waitq_sleep_timeout((wq),SYNCH_NO_TIMEOUT,SYNCH_BLOCKING) |
| 56 | 56 | ||
| 57 | extern void waitq_interrupted_sleep(void *data); |
- | |
| 58 | - | ||
| 59 | extern void waitq_initialize(waitq_t *wq); |
57 | extern void waitq_initialize(waitq_t *wq); |
| 60 | extern int waitq_sleep_timeout(waitq_t *wq, __u32 usec, int nonblocking); |
58 | extern int waitq_sleep_timeout(waitq_t *wq, __u32 usec, int nonblocking); |
| 61 | extern void waitq_wakeup(waitq_t *wq, bool all); |
59 | extern void waitq_wakeup(waitq_t *wq, bool all); |
| 62 | extern void _waitq_wakeup_unsafe(waitq_t *wq, bool all); |
60 | extern void _waitq_wakeup_unsafe(waitq_t *wq, bool all); |
| - | 61 | extern void waitq_interrupt_sleep(thread_t *t); |
|
| 63 | 62 | ||
| 64 | #endif |
63 | #endif |