Changeset 5110d0a in mainline for kernel/generic/include/synch/condvar.h
- Timestamp:
- 2023-02-07T16:02:50Z (15 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c5320c
- Parents:
- 8a55346
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-06 16:44:26)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-07 16:02:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/condvar.h
r8a55346 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.