MCPcopy Index your code
hub / github.com/git/git / pthread_key_create

Function pthread_key_create

compat/win32/pthread.h:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75typedef DWORD pthread_key_t;
76static inline int pthread_key_create(pthread_key_t *keyp, void (*destructor)(void *value) UNUSED)
77{
78 return (*keyp = TlsAlloc()) == TLS_OUT_OF_INDEXES ? EAGAIN : 0;
79}
80
81static inline int pthread_key_delete(pthread_key_t key)
82{

Callers 3

start_asyncFunction · 0.85
tr2tls_initFunction · 0.85
init_threadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected