Skip to content

Commit

Permalink
Remove NOTSAFEPOINT annotation from jl_adopt_thread.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed May 24, 2023
1 parent 248fa30 commit c2ef05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/threading.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ jl_ptls_t jl_init_threadtls(int16_t tid)
return ptls;
}

JL_DLLEXPORT jl_gcframe_t **jl_adopt_thread(void) JL_NOTSAFEPOINT_LEAVE
JL_DLLEXPORT jl_gcframe_t **jl_adopt_thread(void)
{
// jl_init_threadtls puts us in a GC unsafe region, so ensure GC isn't running.
// we can't use a normal safepoint because we don't have signal handlers yet.
Expand Down

0 comments on commit c2ef05e

Please sign in to comment.