Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/condvar.h

    r5110d0a re88eb48  
    4646} condvar_t;
    4747
     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
    4853#ifdef CONFIG_SMP
    4954#define _condvar_wait_timeout_spinlock(cv, lock, usec, flags) \
     
    5762extern void condvar_signal(condvar_t *cv);
    5863extern void condvar_broadcast(condvar_t *cv);
    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 
     64extern errno_t _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, uint32_t usec,
     65    int flags);
    6366extern errno_t _condvar_wait_timeout_spinlock_impl(condvar_t *cv, spinlock_t *lock,
    6467    uint32_t usec, int flags);
Note: See TracChangeset for help on using the changeset viewer.