47 fprintf(stderr,
"pthread_create failed: %s.\n", strerror(ret));
51 fprintf(stderr,
"pthread_create failed: %s.\n", strerror(ret));
61 if (cpu_flags1 != cpu_flags2)
static av_always_inline int pthread_join(pthread_t thread, void **value_ptr)
static av_always_inline int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg)
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
static void * thread_main(void *arg)