Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/thread/thread1.c

    r582a0b8 rd5c1051  
    3232
    3333#include <atomic.h>
     34#include <errno.h>
    3435#include <thread.h>
    3536#include <stdio.h>
     
    6162        TPRINTF("Creating threads");
    6263        for (i = 0; i < THREADS; i++) {
    63                 if (thread_create(threadtest, NULL, "threadtest", NULL) < 0) {
     64                if (thread_create(threadtest, NULL, "threadtest", NULL) != EOK) {
    6465                        TPRINTF("\nCould not create thread %u\n", i);
    6566                        break;
Note: See TracChangeset for help on using the changeset viewer.