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

Function ThreadLocalCreateKey

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

Source from the content-addressed store, hash-verified

94}
95
96inline void ThreadLocalCreateKey(pthread_key_t *key, void (*del)(void*)) {
97 int ret = pthread_key_create(key, del);
98 ThreadLocalCheckReturn(ret, "pthread_key_create");
99}
100
101inline void ThreadLocalSetValue(pthread_key_t key, const void* value) {
102 int ret = pthread_setspecific(key, value);

Callers 5

ThreadLocalManagerMethod · 0.85
ThreadLocalMethod · 0.85
ThreadLocalNoCheckMethod · 0.85
getKeyMethod · 0.85
ThreadLocalProxyMethod · 0.85

Calls 1

ThreadLocalCheckReturnFunction · 0.85

Tested by

no test coverage detected