#include "config.h"
#include <assert.h>
#include <string>
#include <cstring>
#include "maybe_threads.h"
#include "base/basictypes.h"
マクロ定義 | |
#define | __THROW |
#define | MAX_PERTHREAD_VALS 16 |
関数 | |
int | pthread_key_create (pthread_key_t *, void(*)(void *)) __THROW ATTRIBUTE_WEAK |
void * | pthread_getspecific (pthread_key_t) __THROW ATTRIBUTE_WEAK |
int | pthread_setspecific (pthread_key_t, const void *) __THROW ATTRIBUTE_WEAK |
int | pthread_once (pthread_once_t *, void(*)(void)) __THROW ATTRIBUTE_WEAK |
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)) |
変数 | |
static void * | perftools_pthread_specific_vals [MAX_PERTHREAD_VALS] |
static pthread_key_t | next_key |
static pthread_once_t | pthread_once_init = PTHREAD_ONCE_INIT |
#define __THROW |
tcmalloc-0.93/maybe_threads.cc の 54 行で定義されています。
#define MAX_PERTHREAD_VALS 16 |
tcmalloc-0.93/maybe_threads.cc の 69 行で定義されています。
void* perftools_pthread_getspecific | ( | pthread_key_t | key | ) |
tcmalloc-0.93/maybe_threads.cc の 84 行で定義されています。
参照先 perftools_pthread_specific_vals, と pthread_getspecific().
int perftools_pthread_key_create | ( | pthread_key_t * | key, | |
void(*)(void *) | destr_function | |||
) |
tcmalloc-0.93/maybe_threads.cc の 73 行で定義されています。
int perftools_pthread_once | ( | pthread_once_t * | ctl, | |
void(*)(void) | init_routine | |||
) |
int perftools_pthread_setspecific | ( | pthread_key_t | key, | |
void * | val | |||
) |
tcmalloc-0.93/maybe_threads.cc の 92 行で定義されています。
参照先 perftools_pthread_specific_vals, と pthread_setspecific().
void* pthread_getspecific | ( | pthread_key_t | ) |
int pthread_key_create | ( | pthread_key_t * | , | |
void(*)(void *) | ||||
) |
int pthread_once | ( | pthread_once_t * | , | |
void(*)(void) | ||||
) |
int pthread_setspecific | ( | pthread_key_t | , | |
const void * | ||||
) |
pthread_key_t next_key [static] |
tcmalloc-0.93/maybe_threads.cc の 71 行で定義されています。
void* perftools_pthread_specific_vals[MAX_PERTHREAD_VALS] [static] |
tcmalloc-0.93/maybe_threads.cc の 70 行で定義されています。
pthread_once_t pthread_once_init = PTHREAD_ONCE_INIT [static] |
tcmalloc-0.93/maybe_threads.cc の 101 行で定義されています。