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
  • Loading branch information
fingolfin authored and pull[bot] committed Jun 26, 2023
1 parent 7752b61 commit 8c84b8c
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 8c84b8c

Please sign in to comment.