Why do you need pt in here anyways? Before setspecific is called no key needs to be added to the caller's TLS.