Changeset d5c1051 in mainline for uspace/app/tester/thread/thread1.c
- Timestamp:
- 2017-12-20T22:25:34Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39b54fe
- Parents:
- 8610c2c
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:22:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:25:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/thread/thread1.c
r8610c2c rd5c1051 32 32 33 33 #include <atomic.h> 34 #include <errno.h> 34 35 #include <thread.h> 35 36 #include <stdio.h> … … 61 62 TPRINTF("Creating threads"); 62 63 for (i = 0; i < THREADS; i++) { 63 if (thread_create(threadtest, NULL, "threadtest", NULL) < 0) {64 if (thread_create(threadtest, NULL, "threadtest", NULL) != EOK) { 64 65 TPRINTF("\nCould not create thread %u\n", i); 65 66 break;
Note:
See TracChangeset
for help on using the changeset viewer.