Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1702 | Rev 1780 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | 59 | ||
60 | #define waitq_sleep(wq) \ |
60 | #define waitq_sleep(wq) \ |
61 | waitq_sleep_timeout((wq),SYNCH_NO_TIMEOUT,SYNCH_FLAGS_NONE) |
61 | waitq_sleep_timeout((wq),SYNCH_NO_TIMEOUT,SYNCH_FLAGS_NONE) |
62 | 62 | ||
63 | extern void waitq_initialize(waitq_t *wq); |
63 | extern void waitq_initialize(waitq_t *wq); |
64 | extern int waitq_sleep_timeout(waitq_t *wq, __u32 usec, int flags); |
64 | extern int waitq_sleep_timeout(waitq_t *wq, uint32_t usec, int flags); |
65 | extern ipl_t waitq_sleep_prepare(waitq_t *wq); |
65 | extern ipl_t waitq_sleep_prepare(waitq_t *wq); |
66 | extern int waitq_sleep_timeout_unsafe(waitq_t *wq, __u32 usec, int flags); |
66 | extern int waitq_sleep_timeout_unsafe(waitq_t *wq, uint32_t usec, int flags); |
67 | extern void waitq_sleep_finish(waitq_t *wq, int rc, ipl_t ipl); |
67 | extern void waitq_sleep_finish(waitq_t *wq, int rc, ipl_t ipl); |
68 | extern void waitq_wakeup(waitq_t *wq, bool all); |
68 | extern void waitq_wakeup(waitq_t *wq, bool all); |
69 | extern void _waitq_wakeup_unsafe(waitq_t *wq, bool all); |
69 | extern void _waitq_wakeup_unsafe(waitq_t *wq, bool all); |
70 | extern void waitq_interrupt_sleep(thread_t *t); |
70 | extern void waitq_interrupt_sleep(thread_t *t); |
71 | 71 |