Changes in kernel/generic/src/synch/mutex.c [63e27ef:1066041] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/mutex.c
r63e27ef r1066041 36 36 */ 37 37 38 #include <assert.h>39 38 #include <synch/mutex.h> 40 39 #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.