Merge branch 'feature-branch' into refs/top-bases/zfs-branch
This commit is contained in:
commit
9a2275c1c5
|
@ -181,8 +181,8 @@ zk_thread_create(caddr_t stk, size_t stksize, thread_func_t func, void *arg,
|
||||||
list_insert_head(&kthread_list, kt);
|
list_insert_head(&kthread_list, kt);
|
||||||
VERIFY3S(pthread_mutex_unlock(&kthread_lock), ==, 0);
|
VERIFY3S(pthread_mutex_unlock(&kthread_lock), ==, 0);
|
||||||
|
|
||||||
VERIFY(pthread_create(&kt->t_tid, &kt->t_attr,
|
VERIFY3U(pthread_create(&kt->t_tid, &kt->t_attr,
|
||||||
(void *(*)(void *))func, arg) == 0);
|
(void *(*)(void *))func, arg), ==, 0);
|
||||||
|
|
||||||
return kt;
|
return kt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue