MCPcopy Create free account
hub / github.com/facebook/react / ThreadLocalSetValue

Function ThreadLocalSetValue

scripts/perf-counters/src/thread-local.h:101–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101inline void ThreadLocalSetValue(pthread_key_t key, const void* value) {
102 int ret = pthread_setspecific(key, value);
103 ThreadLocalCheckReturn(ret, "pthread_setspecific");
104}
105
106#ifdef __APPLE__
107typedef struct __darwin_pthread_handler_rec darwin_pthread_handler;

Callers 11

PushTopMethod · 0.85
getMethod · 0.85
destroyMethod · 0.85
nullOutMethod · 0.85
destroyMethod · 0.85
setNullMethod · 0.85
getCheckMethod · 0.85
destroyMethod · 0.85
setMethod · 0.85
destroyMethod · 0.85

Calls 1

ThreadLocalCheckReturnFunction · 0.85

Tested by

no test coverage detected