[FFmpeg-devel] [PATCH v4] vvcdec: add thread executor
Nuo Mi
nuomi2021 at gmail.com
Tue Aug 22 16:34:21 EEST 2023
On Tue, Aug 22, 2023 at 8:32 PM James Almer <jamrial at gmail.com> wrote:
>
> >>>
> >>
> "mem.h"->"avutil.h"->"common.h"->"<stdlib.h>"->"<sys/types.h>"->"<bits/pthreadtypes.h>"
> >>
> >> Why would bits/pthreadtypes.h be available if there's no pthreads?
> >>
> > I guess it is related to POSIX. If you check <sys/types.h>, you will find
> > the following code:
> >
> > /* Now add the thread types. */
> > #if defined __USE_POSIX199506 || defined __USE_UNIX98
> > # include <bits/pthreadtypes.h>
> > #endif
>
> Well, not all targets are POSIX. If you look at the win32 and os/2
> wrappers, they need to define pthread_t. So it's not guaranteed to be
> defined when !HAVE_THREADS.
>
Done by v5
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-devel
mailing list