aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/gpr/spinlock_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/gpr/spinlock_test.cc')
-rw-r--r--test/core/gpr/spinlock_test.cc5
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));
}
}