Changes in kernel/generic/include/synch/condvar.h [e88eb48:5110d0a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/condvar.h
re88eb48 r5110d0a 46 46 } condvar_t; 47 47 48 #define condvar_wait(cv, mtx) \49 _condvar_wait_timeout((cv), (mtx), SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE)50 #define condvar_wait_timeout(cv, mtx, usec) \51 _condvar_wait_timeout((cv), (mtx), (usec), SYNCH_FLAGS_NONE)52 53 48 #ifdef CONFIG_SMP 54 49 #define _condvar_wait_timeout_spinlock(cv, lock, usec, flags) \ … … 62 57 extern void condvar_signal(condvar_t *cv); 63 58 extern void condvar_broadcast(condvar_t *cv); 64 extern errno_t _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, uint32_t usec, 65 int flags); 59 60 extern errno_t condvar_wait(condvar_t *cv, mutex_t *mtx); 61 extern errno_t condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, uint32_t usec); 62 66 63 extern errno_t _condvar_wait_timeout_spinlock_impl(condvar_t *cv, spinlock_t *lock, 67 64 uint32_t usec, int flags);
Note:
See TracChangeset
for help on using the changeset viewer.