Changes in kernel/generic/src/synch/condvar.c [b7fd2a0:897fd8f1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/condvar.c
rb7fd2a0 r897fd8f1 85 85 * @return See comment for waitq_sleep_timeout(). 86 86 */ 87 errno_t _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, uint32_t usec, int flags)87 int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, uint32_t usec, int flags) 88 88 { 89 errno_t rc;89 int rc; 90 90 ipl_t ipl; 91 91 bool blocked; … … 124 124 * @return See comment for waitq_sleep_timeout(). 125 125 */ 126 errno_t _condvar_wait_timeout_spinlock_impl(condvar_t *cv, spinlock_t *lock,126 int _condvar_wait_timeout_spinlock_impl(condvar_t *cv, spinlock_t *lock, 127 127 uint32_t usec, int flags) 128 128 { 129 errno_t rc;129 int rc; 130 130 ipl_t ipl; 131 131 bool blocked; … … 161 161 * @return See comment for waitq_sleep_timeout(). 162 162 */ 163 errno_t _condvar_wait_timeout_irq_spinlock(condvar_t *cv, irq_spinlock_t *irq_lock,163 int _condvar_wait_timeout_irq_spinlock(condvar_t *cv, irq_spinlock_t *irq_lock, 164 164 uint32_t usec, int flags) 165 165 { 166 errno_t rc;166 int rc; 167 167 /* Save spinlock's state so we can restore it correctly later on. */ 168 168 ipl_t ipl = irq_lock->ipl;
Note:
See TracChangeset
for help on using the changeset viewer.