diff options
author | Richard Braun <rbraun@sceen.net> | 2014-06-18 23:35:45 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-06-18 23:35:45 +0200 |
commit | 82dc13cf6a4b760e02729d25d6f2abb35f7d4e7c (patch) | |
tree | 0ca17e9d8cab1c6630ca532751a398c5a4172d08 /test/test_pmap_update_mp.c | |
parent | 701a5d9cf5a9416eb8303d703049bf1d4c6c69f0 (diff) |
Set threads as detached where applicable
Diffstat (limited to 'test/test_pmap_update_mp.c')
-rw-r--r-- | test/test_pmap_update_mp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_pmap_update_mp.c b/test/test_pmap_update_mp.c index 2386fda0..bfaaac6f 100644 --- a/test/test_pmap_update_mp.c +++ b/test/test_pmap_update_mp.c @@ -108,6 +108,7 @@ test_setup(void) cpumap_zero(cpumap); cpumap_set(cpumap, 0); thread_attr_init(&attr, "x15_test_run1"); + thread_attr_set_detached(&attr); thread_attr_set_cpumap(&attr, cpumap); error = thread_create(&thread, &attr, test_run1, NULL); assert(!error); @@ -115,6 +116,7 @@ test_setup(void) cpumap_zero(cpumap); cpumap_set(cpumap, 1); thread_attr_init(&attr, "x15_test_run2"); + thread_attr_set_detached(&attr); thread_attr_set_cpumap(&attr, cpumap); error = thread_create(&thread, &attr, test_run2, NULL); assert(!error); |