MCPcopy Create free account
hub / github.com/pydata/numexpr / pthread_create

Function pthread_create

numexpr3/win32/pthread.c:53–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53int pthread_create(pthread_t *thread, const void *unused,
54 void *(*start_routine)(void*), void *arg)
55{
56 thread->arg = arg;
57 thread->start_routine = start_routine;
58 thread->handle = (HANDLE)
59 _beginthreadex(NULL, 0, win32_start_routine, thread, 0, NULL);
60
61 if (!thread->handle)
62 return errno;
63 else
64 return 0;
65}
66
67int win32_pthread_join(pthread_t *thread, void **value_ptr)
68{

Callers 1

reinit_threadsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…