Skip to content
MachDep (Intel)#3

svc · unix #3

thread_fast_set_cthread_self

Fast path for setting the C-thread self pointer — writes the GS-base segment register directly without a full Mach round-trip.

Prototype

kern_return_t thread_fast_set_cthread_self(/* 1 args */);

Returns: kern_return_t

Version history

XNU tagmacOS#
xnu-792macOS 10.4 Tiger3
xnu-792.1.53
xnu-792.12.63
xnu-792.17.143
xnu-792.2.43
xnu-792.21.33
xnu-792.24.173
xnu-792.6.223
xnu-792.6.563
xnu-792.6.613
xnu-792.6.703
xnu-792.6.763

Notes

No prose documentation yet.