Skip to contentSkip to conversation

Help with posix_types.h

parisc-linux Cary Coutant 2 participants 2 messages Nov 15, 2000 – Nov 16, 2000

lore
Share & tools
lore
#0 lore raw
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

#1 lore raw
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   `------------------------