Skip to content

Commit

Permalink
Remove duplicate definition of jl_gc_safepoint (#45120)
Browse files Browse the repository at this point in the history
This prevents a compiler warning on some systems

(cherry picked from commit 05eb153)
  • Loading branch information
fingolfin authored and KristofferC committed Jul 4, 2022
1 parent f6e0600 commit a87550d
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 @@ -356,7 +356,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 a87550d

Please sign in to comment.