Lines Matching refs:thread
75 pthread_t *thread = arg;
77 thread->result = thread->start_routine(thread->arg);
80 static av_always_inline int pthread_create(pthread_t *thread,
85 thread->start_routine = start_routine;
86 thread->arg = arg;
87 thread->result = NULL;
89 thread->tid = _beginthread(thread_entry, NULL, 1024 * 1024, thread);
94 static av_always_inline int pthread_join(pthread_t thread, void **value_ptr)
96 DosWaitThread(&thread.tid, DCWW_WAIT);
99 *value_ptr = thread.result;