Changeset 63e27ef in mainline for kernel/generic/src/synch/mutex.c


Ignore:
Timestamp:
2017-06-19T21:47:42Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deacc58d
Parents:
7354b5e
Message:

ASSERT → assert

File:
1 edited

Legend:

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

    r7354b5e r63e27ef  
    3636 */
    3737
     38#include <assert.h>
    3839#include <synch/mutex.h>
    3940#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.