Changes in kernel/generic/src/synch/mutex.c [1066041:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/mutex.c
r1066041 r63e27ef 36 36 */ 37 37 38 #include <assert.h> 38 39 #include <synch/mutex.h> 39 40 #include <synch/semaphore.h> 40 #include <debug.h>41 41 #include <arch.h> 42 42 #include <stacktrace.h> … … 88 88 rc = _semaphore_down_timeout(&mtx->sem, usec, flags); 89 89 } else { 90 ASSERT((mtx->type == MUTEX_ACTIVE) || (!THREAD));91 ASSERT(usec == SYNCH_NO_TIMEOUT);92 ASSERT(!(flags & SYNCH_FLAGS_INTERRUPTIBLE));90 assert((mtx->type == MUTEX_ACTIVE) || (!THREAD)); 91 assert(usec == SYNCH_NO_TIMEOUT); 92 assert(!(flags & SYNCH_FLAGS_INTERRUPTIBLE)); 93 93 94 94 unsigned int cnt = 0;
Note:
See TracChangeset
for help on using the changeset viewer.