contrib: pthreads: fix detached threads return value
It's supposed to return EINVAL when the thread is not joinable when calling pthread_detach() and pthread_join(), not ESRCH.
It's supposed to return EINVAL when the thread is not joinable when calling pthread_detach() and pthread_join(), not ESRCH.
VideoLAN code repository instance