pthread_setspecific
extern int pthread_setspecific(pthread_key_t key, const void *value);
WRAPPER_FUNCTION(int, pthread_setspecific,
if ((ret = pthread_setspecific(key, mt)) != 0) {
pthread_setspecific(tlsKey, tlsValue);
if (pthread_setspecific(key, val) != 0)
pthread_setspecific(self, &i);