maybe_threads.cc

#include "config.h"
#include <assert.h>
#include <pthread.h>
#include <string>
#include "maybe_threads.h"

tcmalloc-0.8/maybe_threads.ccのインクルード依存関係図

ソースコードを見る。

マクロ定義

#define MAX_PERTHREAD_VALS   16

関数

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


マクロ定義

#define MAX_PERTHREAD_VALS   16

tcmalloc-0.8/maybe_threads.cc48 行で定義されています。

参照元 perftools_pthread_key_create().


関数

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.cc55 行で定義されています。

参照元 TCMalloc_ThreadCache::InitTSD().

int perftools_pthread_once ( pthread_once_t *  ctl,
void(*)(void)  init_routine 
)

tcmalloc-0.8/maybe_threads.cc83 行で定義されています。

参照元 MallocExtension::instance(), と MallocExtension::Register().

int perftools_pthread_setspecific ( pthread_key_t  key,
void *  val 
)


変数

pthread_key_t next_key [static]

tcmalloc-0.8/maybe_threads.cc50 行で定義されています。

参照元 perftools_pthread_key_create().

void* perftools_pthread_specific_vals[MAX_PERTHREAD_VALS] [static]


Thu Oct 8 05:01:12 2009に生成されました。  doxygen 1.5.6