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