I can't help you with pthreads in OpenAFS but you might want to try Arla as a whole or the amd64 specific lwp asm stuff from Arla. The lwp in Arla and in OpenAFS are not _that_ different. Harald.