diff options
author | 2018-02-13 14:40:39 -0800 | |
---|---|---|
committer | 2018-02-15 21:30:13 -0800 | |
commit | 58a62755fc6546a117b7b8f3a0a344f85b2ea5f9 (patch) | |
tree | 294e8432672a2a8b3b2bd1bab7d24e75e1a6d4b6 /test/core/gpr/spinlock_test.cc | |
parent | b0d71823a0f031ad1c04be30f22653177139da0b (diff) |
Remove support for detached threads. All threads must be joined.
Diffstat (limited to 'test/core/gpr/spinlock_test.cc')
-rw-r--r-- | test/core/gpr/spinlock_test.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/core/gpr/spinlock_test.cc b/test/core/gpr/spinlock_test.cc index 9f182bc154..1392cff7ad 100644 --- a/test/core/gpr/spinlock_test.cc +++ b/test/core/gpr/spinlock_test.cc @@ -66,10 +66,7 @@ static void test_destroy(struct test* m) { static void test_create_threads(struct test* m, void (*body)(void* arg)) { int i; for (i = 0; i != m->thread_count; i++) { - gpr_thd_options opt = gpr_thd_options_default(); - gpr_thd_options_set_joinable(&opt); - GPR_ASSERT( - gpr_thd_new(&m->threads[i], "grpc_create_threads", body, m, &opt)); + GPR_ASSERT(gpr_thd_new(&m->threads[i], "grpc_create_threads", body, m)); } } |