Skip to content

Commit

Permalink
Fix gc_first_tid setting (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpamnany authored May 31, 2024
1 parent 3f82711 commit b882d43
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 @@ -709,7 +709,7 @@ void jl_init_threading(void)
jl_atomic_store_release(&jl_all_tls_states, (jl_ptls_t*)calloc(jl_all_tls_states_size, sizeof(jl_ptls_t)));
jl_atomic_store_release(&jl_n_threads, jl_all_tls_states_size);
jl_n_gcthreads = ngcthreads;
gc_first_tid = nthreads;
gc_first_tid = nthreads + nthreadsi;
}

static uv_barrier_t thread_init_done;
Expand Down

0 comments on commit b882d43

Please sign in to comment.