#include <pthread.h>
関数 | |
int | perftools_pthread_key_create (pthread_key_t *key, void(*destr_function)(void *)) |
void * | perftools_pthread_getspecific (pthread_key_t key) |
int | perftools_pthread_setspecific (pthread_key_t key, void *val) |
int | perftools_pthread_once (pthread_once_t *ctl, void(*init_routine)(void)) |
void* perftools_pthread_getspecific | ( | pthread_key_t | key | ) |
int perftools_pthread_key_create | ( | pthread_key_t * | key, | |
void(*)(void *) | destr_function | |||
) |
tcmalloc-0.8/maybe_threads.cc の 55 行で定義されています。
int perftools_pthread_once | ( | pthread_once_t * | ctl, | |
void(*)(void) | init_routine | |||
) |
tcmalloc-0.8/maybe_threads.cc の 83 行で定義されています。
参照先 pthread_once().
参照元 MallocExtension::instance(), と MallocExtension::Register().
int perftools_pthread_setspecific | ( | pthread_key_t | key, | |
void * | val | |||
) |