>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