Skip to content
MachDep (Intel)#0

svc · unix #0

thread_get_cthread_self

Returns the per-thread C-thread (pthread) self pointer — the legacy way userland tracked TLS base on early macOS.

Prototype

kern_return_t thread_get_cthread_self(/* 0 args */);

Returns: kern_return_t

Version history

XNU tagmacOS#
xnu-792macOS 10.4 Tiger0
xnu-792.1.50
xnu-792.12.60
xnu-792.17.140
xnu-792.2.40
xnu-792.21.30
xnu-792.24.170
xnu-792.6.220
xnu-792.6.560
xnu-792.6.610
xnu-792.6.700
xnu-792.6.760

Notes

No prose documentation yet.