Subversion Repositories HelenOS-historic

Rev

Rev 1156 | Rev 1502 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1156 Rev 1375
Line 54... Line 54...
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_initialize(waitq_t *wq);
57
extern void waitq_initialize(waitq_t *wq);
58
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);
-
 
59
extern ipl_t waitq_sleep_prepare(waitq_t *wq);
-
 
60
extern int waitq_sleep_timeout_unsafe(waitq_t *wq, __u32 usec, int nonblocking);
-
 
61
extern void waitq_sleep_finish(waitq_t *wq, int rc, ipl_t ipl);
59
extern void waitq_wakeup(waitq_t *wq, bool all);
62
extern void waitq_wakeup(waitq_t *wq, bool all);
60
extern void _waitq_wakeup_unsafe(waitq_t *wq, bool all);
63
extern void _waitq_wakeup_unsafe(waitq_t *wq, bool all);
61
extern void waitq_interrupt_sleep(thread_t *t);
64
extern void waitq_interrupt_sleep(thread_t *t);
62
 
65
 
63
#endif
66
#endif