diff options
author | 2017-03-20 14:44:49 -0700 | |
---|---|---|
committer | 2017-03-21 14:21:43 -0700 | |
commit | ac433cf640d90f405edb6d7740140bcdf542aff1 (patch) | |
tree | cf5849da567621ce56849564bfe0769189df94ad /src/core/lib/iomgr/executor.c | |
parent | d4143f2821c744e0d9f7ff965bb872418a9ddba2 (diff) |
Assert on thread creation
Diffstat (limited to 'src/core/lib/iomgr/executor.c')
-rw-r--r-- | src/core/lib/iomgr/executor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/executor.c b/src/core/lib/iomgr/executor.c index a5b62aa888..ae3e2eabc3 100644 --- a/src/core/lib/iomgr/executor.c +++ b/src/core/lib/iomgr/executor.c @@ -115,8 +115,8 @@ static void maybe_spawn_locked() { /* All previous instances of the thread should have been joined at this point. * Spawn time! */ g_executor.busy = 1; - gpr_thd_new(&g_executor.tid, closure_exec_thread_func, NULL, - &g_executor.options); + GPR_ASSERT(gpr_thd_new(&g_executor.tid, closure_exec_thread_func, NULL, + &g_executor.options)); g_executor.pending_join = 1; } |