We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 448b4fc commit b5b097fCopy full SHA for b5b097f
src/signals-mach.c
@@ -625,8 +625,7 @@ void *mach_profile_listener(void *arg)
625
if (_dyld_atfork_prepare != NULL && _dyld_atfork_parent != NULL)
626
_dyld_atfork_prepare(); // briefly acquire the dlsym lock
627
host_thread_state_t state;
628
- if (!jl_thread_suspend_and_get_state2(i, &state))
629
- continue;
+ int valid_thread = jl_thread_suspend_and_get_state2(i, &state);
630
unw_context_t *uc = (unw_context_t*)&state;
631
632
_dyld_atfork_parent(); // quickly release the dlsym lock
0 commit comments