Help with posix_types.h
Quoted 2 lines
You have certainly reserved a thread register in the ABI, right? If not, do it ASAP.
On PA-RISC, the thread pointer is kept in the read-only control register CR 27.
For user-thread implementations, we provided a kernel API to change the contents of the register.
-cary
Quoted 5 lines · Cary Coutant
On PA-RISC, the thread pointer is kept in the read-only control register CR 27.
For user-thread implementations, we provided a kernel API to change the contents of the register.
This works fine for a 1:1 thread implementation but adds significant runtime hits for a m:n implementation. The latter is the direction we are heading.
Signature · 3 lines
---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------