MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / pthread_create

Function pthread_create

compat/os2threads.h:80–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80static av_always_inline int pthread_create(pthread_t *thread,
81 const pthread_attr_t *attr,
82 void *(*start_routine)(void*),
83 void *arg)
84{
85 thread->start_routine = start_routine;
86 thread->arg = arg;
87 thread->result = NULL;
88
89 thread->tid = _beginthread(thread_entry, NULL, 1024 * 1024, thread);
90
91 return 0;
92}
93
94static av_always_inline int pthread_join(pthread_t thread, void **value_ptr)
95{

Callers 10

iec61883_read_headerFunction · 0.50
async_openFunction · 0.50
fifo_write_headerFunction · 0.50
udp_openFunction · 0.50
mainFunction · 0.50
task_startFunction · 0.50
init_threadFunction · 0.50

Calls

no outgoing calls

Tested by 1

mainFunction · 0.40