···200200201201 // libpthread now expects the kernel to set the TSD
202202 // so, since we're pretending to be the kernel handling threads...
203203- args.callbacks->thread_set_tsd_base(&dthread->tsd[0]);
203203+ args.callbacks->thread_set_tsd_base(&dthread->tsd[0], 0);
204204 *flags |= args.is_workqueue ? DWQ_FLAG_THREAD_TSD_BASE_SET : DTHREAD_START_TSD_BASE_SET;
205205206206 args.port = dthread->tsd[DTHREAD_TSD_SLOT_MACH_THREAD_SELF] = args.callbacks->thread_self_trap();