Changeset 0f4f1b2 in mainline for kernel/test/synch/semaphore2.c
- Timestamp:
- 2024-01-15T17:10:27Z (8 months ago)
- Branches:
- master
- Children:
- e82879c
- Parents:
- a064d4f
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-15 16:37:22)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-15 17:10:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/semaphore2.c
ra064d4f r0f4f1b2 92 92 thrd = thread_create(consumer, NULL, TASK, 93 93 THREAD_FLAG_NONE, "consumer"); 94 if (thrd) 95 thread_ready(thrd); 96 else 94 if (thrd) { 95 thread_start(thrd); 96 thread_detach(thrd); 97 } else { 97 98 TPRINTF("Error creating thread\n"); 99 } 98 100 } 99 101
Note:
See TracChangeset
for help on using the changeset viewer.