Changes in kernel/test/synch/semaphore2.c [0f4f1b2:111b9b9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/semaphore2.c
r0f4f1b2 r111b9b9 92 92 thrd = thread_create(consumer, NULL, TASK, 93 93 THREAD_FLAG_NONE, "consumer"); 94 if (thrd) { 95 thread_start(thrd); 96 thread_detach(thrd); 97 } else { 94 if (thrd) 95 thread_ready(thrd); 96 else 98 97 TPRINTF("Error creating thread\n"); 99 }100 98 } 101 99
Note:
See TracChangeset
for help on using the changeset viewer.