Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/synch/semaphore2.c

    rb7fd2a0 r6eef3c4  
    6060static void consumer(void *arg)
    6161{
    62         errno_t rc;
    63         int to;
     62        int rc, to;
    6463       
    6564        thread_detach(THREAD);
     
    7069        TPRINTF("cpu%u, tid %" PRIu64 " down+ (%d)\n", CPU->id, THREAD->tid, to);
    7170        rc = semaphore_down_timeout(&sem, to);
    72         if (rc != EOK) {
     71        if (SYNCH_FAILED(rc)) {
    7372                TPRINTF("cpu%u, tid %" PRIu64 " down!\n", CPU->id, THREAD->tid);
    7473                return;
Note: See TracChangeset for help on using the changeset viewer.