vm_abort_errnum(result, "threads_impl_thread_new: pthread_cond_init failed");
#if defined(ENABLE_TLH)
- tlh_init(t);
+ tlh_init(&(t->tlh));
#endif
}
t->flc_object = NULL;
#if defined(ENABLE_TLH)
- tlh_reset(t);
+ tlh_destroy(&(t->tlh));
+ tlh_init(&(t->tlh));
#endif
}