summaryrefslogtreecommitdiff
path: root/kern/work.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/work.c')
-rw-r--r--kern/work.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/work.c b/kern/work.c
index cc6f1dd6..2865d616 100644
--- a/kern/work.c
+++ b/kern/work.c
@@ -411,6 +411,7 @@ work_thread_create(struct work_pool *pool, unsigned int id)
}
thread_attr_init(&attr, name);
+ thread_attr_set_detached(&attr);
thread_attr_set_priority(&attr, priority);
if (cpumap != NULL)