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 tag | macOS | # |
|---|---|---|
| xnu-792 | macOS 10.4 Tiger | 3 |
| xnu-792.1.5 | — | 3 |
| xnu-792.12.6 | — | 3 |
| xnu-792.17.14 | — | 3 |
| xnu-792.2.4 | — | 3 |
| xnu-792.21.3 | — | 3 |
| xnu-792.24.17 | — | 3 |
| xnu-792.6.22 | — | 3 |
| xnu-792.6.56 | — | 3 |
| xnu-792.6.61 | — | 3 |
| xnu-792.6.70 | — | 3 |
| xnu-792.6.76 | — | 3 |
Notes
No prose documentation yet.