MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / pthread_getspecific

Function pthread_getspecific

include/hamlib/winpthreads.h:1193–1201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191}
1192
1193static void *pthread_getspecific(pthread_key_t key)
1194{
1195 pthread_t t = pthread_self();
1196
1197 if (key >= t->keymax) return NULL;
1198
1199 return t->keyval[key];
1200
1201}
1202
1203static int pthread_setspecific(pthread_key_t key, const void *value)
1204{

Callers 2

rigctl_parseFunction · 0.85
rigctl_parse.cFile · 0.85

Calls 1

pthread_selfFunction · 0.85

Tested by

no test coverage detected