Searched refs:thread_key (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_posix.cc | 18 struct thread_key { struct 23 thread_key(pthread_key_t key, pthread_mutex_t *mtx, int val, int *cnt) in thread_key() argument 32 thread_key *k = (thread_key *)v; in thread_secific_dtor() 48 thread_key *k = (thread_key *)p; in dtors_thread() 60 thread_key k1 = thread_key(key, &mtx, 42, &cnt); in TEST() 61 thread_key k2 = thread_key(key, &mtx, 43, &cnt); in TEST() 62 thread_key k3 = thread_key(key, &mtx, 44, &cnt); in TEST()
|
/external/v8/src/libsampler/ |
D | sampler.cc | 256 void* thread_key = ThreadKey(thread_id); in RemoveSampler() local 258 base::HashMap::Entry* entry = sampler_map_.Lookup(thread_key, thread_hash); in RemoveSampler() 269 sampler_map_.Remove(thread_key, thread_hash); in RemoveSampler()
|