Changes in kernel/test/synch/semaphore2.c [b7fd2a0:6eef3c4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/semaphore2.c
rb7fd2a0 r6eef3c4 60 60 static void consumer(void *arg) 61 61 { 62 errno_t rc; 63 int to; 62 int rc, to; 64 63 65 64 thread_detach(THREAD); … … 70 69 TPRINTF("cpu%u, tid %" PRIu64 " down+ (%d)\n", CPU->id, THREAD->tid, to); 71 70 rc = semaphore_down_timeout(&sem, to); 72 if ( rc != EOK) {71 if (SYNCH_FAILED(rc)) { 73 72 TPRINTF("cpu%u, tid %" PRIu64 " down!\n", CPU->id, THREAD->tid); 74 73 return;
Note:
See TracChangeset
for help on using the changeset viewer.