ub_thread_key_create
void ub_thread_key_create(ub_thread_key_type* key, void* f);
ub_thread_key_create(&logkey, NULL);
void ub_thread_key_create(ub_thread_key_type* key, void* f);
ub_thread_key_create(&logkey, NULL);