Skip to content

Commit

Permalink
Remove duplicate definition of jl_gc_safepoint (JuliaLang#45120)
Browse files Browse the repository at this point in the history
This prevents a compiler warning on some systems
  • Loading branch information
fingolfin authored and pcjentsch committed Aug 18, 2022
1 parent 7f3a4ae commit 99b72c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/julia_threads.h
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ int8_t jl_gc_safe_leave(jl_ptls_t ptls, int8_t state); // Can be a safepoint
#define jl_gc_safe_enter(ptls) jl_gc_state_save_and_set(ptls, JL_GC_STATE_SAFE)
#define jl_gc_safe_leave(ptls, state) ((void)jl_gc_state_set(ptls, (state), JL_GC_STATE_SAFE))
#endif
JL_DLLEXPORT void (jl_gc_safepoint)(void);

JL_DLLEXPORT void jl_gc_enable_finalizers(struct _jl_task_t *ct, int on);
JL_DLLEXPORT void jl_gc_disable_finalizers_internal(void);
Expand Down

0 comments on commit 99b72c0

Please sign in to comment.