Changeset 5c8ba05 in mainline for kernel/generic/include/synch/waitq.h
- Timestamp:
- 2007-05-07T18:52:24Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6fa4888b
- Parents:
- 4f42d52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/waitq.h
r4f42d52 r5c8ba05 41 41 #include <adt/list.h> 42 42 43 #define WAKEUP_FIRST 0 44 #define WAKEUP_ALL 1 43 typedef enum { 44 WAKEUP_FIRST = 0, 45 WAKEUP_ALL 46 } wakeup_mode_t; 45 47 46 48 /** Wait queue structure. */ … … 71 73 extern int waitq_sleep_timeout_unsafe(waitq_t *wq, uint32_t usec, int flags); 72 74 extern void waitq_sleep_finish(waitq_t *wq, int rc, ipl_t ipl); 73 extern void waitq_wakeup(waitq_t *wq, bool all);74 extern void _waitq_wakeup_unsafe(waitq_t *wq, bool all);75 extern void waitq_wakeup(waitq_t *wq, wakeup_mode_t mode); 76 extern void _waitq_wakeup_unsafe(waitq_t *wq, wakeup_mode_t mode); 75 77 extern void waitq_interrupt_sleep(struct thread *t); 76 78
Note:
See TracChangeset
for help on using the changeset viewer.