Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/synch/mutex.c

    r63e27ef r1066041  
    3636 */
    3737
    38 #include <assert.h>
    3938#include <synch/mutex.h>
    4039#include <synch/semaphore.h>
     40#include <debug.h>
    4141#include <arch.h>
    4242#include <stacktrace.h>
     
    8888                rc = _semaphore_down_timeout(&mtx->sem, usec, flags);
    8989        } 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));
    9393               
    9494                unsigned int cnt = 0;
Note: See TracChangeset for help on using the changeset viewer.