Skip to content

Commit c2ef05e

Browse files
committed
Remove NOTSAFEPOINT annotation from jl_adopt_thread.
1 parent 248fa30 commit c2ef05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/threading.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ jl_ptls_t jl_init_threadtls(int16_t tid)
406406
return ptls;
407407
}
408408

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

0 commit comments

Comments
 (0)