105: #define _THREAD_PRIVATE_KEY(name) \
106: static void *__THREAD_NAME(name)
107: #define _THREAD_PRIVATE_MUTEX(name) \
108: static void *__THREAD_NAME(name)
109: #define _THREAD_PRIVATE_MUTEX_LOCK(name) \
110: _thread_tag_lock(&(__THREAD_NAME(name)))
111: #define _THREAD_PRIVATE_MUTEX_UNLOCK(name) \
112: _thread_tag_unlock(&(__THREAD_NAME(name)))
113: #define _THREAD_PRIVATE(keyname, storage, error) \
114: _thread_tag_storage(&(__THREAD_NAME(keyname)), &(storage), \
115: sizeof (storage), error)