MCPcopy Create free account
hub / github.com/acl-dev/acl / pthread_setspecific

Function pthread_setspecific

lib_fiber/c/src/common/pthread_patch.c:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59int pthread_setspecific(pthread_key_t key, const void* value)
60{
61 return FlsSetValue(key, (PVOID)value) ? 0 : -1;
62}
63
64void* pthread_getspecific(pthread_key_t key)
65{

Callers 9

thread_initFunction · 0.85
thread_initFunction · 0.85
acl_fiber_scheduleFunction · 0.85
kqueue_allocFunction · 0.85
epoll_allocFunction · 0.85
tls_callocFunction · 0.85
last_serrorFunction · 0.85
sync_timer_getFunction · 0.85
sync_waiter_getFunction · 0.85

Calls 8

hash_keyFunction · 0.85
pthread_mutex_lockFunction · 0.85
pthread_mutex_unlockFunction · 0.85
mem_callocFunction · 0.85
msg_errorFunction · 0.70
htable_findFunction · 0.70
last_serrorFunction · 0.70
push_backMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…