diff --git a/otherlibs/systhreads4/st_stubs.c b/otherlibs/systhreads4/st_stubs.c index ace63ea0cd7..e71c8ec49df 100644 --- a/otherlibs/systhreads4/st_stubs.c +++ b/otherlibs/systhreads4/st_stubs.c @@ -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);