Skip to content

Commit f209dfa

Browse files
authored
flambda-backend: Backport PR10478 (fix for crash in caml_thread_start) (#2030)
1 parent 80bd34e commit f209dfa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

otherlibs/systhreads4/st_stubs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,6 @@ static ST_THREAD_FUNCTION caml_thread_start(void * arg)
671671

672672
/* Associate the thread descriptor with the thread */
673673
st_tls_set(thread_descriptor_key, (void *) th);
674-
st_thread_set_id(Ident(th->descr));
675674
sch = atomic_load(&caml_locking_scheme);
676675
if (sch->thread_start != NULL)
677676
sch->thread_start(sch->context, Thread_type_caml);

0 commit comments

Comments
 (0)