Log Message: Be more careful when abusing libpthread internals. Should help (at least) SR on RISC CPUs.