Changes in uspace/lib/c/generic/thread/fibril.c [3fcea34:d8cb48d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread/fibril.c
r3fcea34 rd8cb48d 781 781 } 782 782 783 static errno_t_runner_fn(void *arg)783 static void _runner_fn(void *arg) 784 784 { 785 785 _helper_fibril_fn(arg); 786 return EOK;787 786 } 788 787 … … 809 808 810 809 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); 812 812 if (rc != EOK) 813 813 return i; 814 thread_detach(tid); 814 815 } 815 816
Note:
See TracChangeset
for help on using the changeset viewer.