Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/thread/fibril.c

    r3fcea34 rd8cb48d  
    781781}
    782782
    783 static errno_t _runner_fn(void *arg)
     783static void _runner_fn(void *arg)
    784784{
    785785        _helper_fibril_fn(arg);
    786         return EOK;
    787786}
    788787
     
    809808
    810809        for (int i = 0; i < n; i++) {
    811                 rc = thread_create(_runner_fn, NULL, "fibril runner");
     810                thread_id_t tid;
     811                rc = thread_create(_runner_fn, NULL, "fibril runner", &tid);
    812812                if (rc != EOK)
    813813                        return i;
     814                thread_detach(tid);
    814815        }
    815816
Note: See TracChangeset for help on using the changeset viewer.