Skip to content

Commit

Permalink
flambda-backend: Backport PR10478 (fix for crash in caml_thread_start) (
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell authored Nov 14, 2023
1 parent 80bd34e commit f209dfa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion otherlibs/systhreads4/st_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@ static ST_THREAD_FUNCTION caml_thread_start(void * arg)

/* Associate the thread descriptor with the thread */
st_tls_set(thread_descriptor_key, (void *) th);
st_thread_set_id(Ident(th->descr));
sch = atomic_load(&caml_locking_scheme);
if (sch->thread_start != NULL)
sch->thread_start(sch->context, Thread_type_caml);
Expand Down

0 comments on commit f209dfa

Please sign in to comment.