603
599
dtid->name = ((char *) dtid) + sizeof(struct ErlDrvTid_);
604
600
sys_strcpy(dtid->name, name);
607
res = erts_lcnt_thr_create(&dtid->tid, erl_drv_thread_wrapper, dtid, use_opts);
609
602
res = ethr_thr_create(&dtid->tid, erl_drv_thread_wrapper, dtid, use_opts);
613
605
erts_free(ERTS_ALC_T_DRV_TID, dtid);