On Tue, Jun 25, 2024 at 8:36 PM Nuo Mi wrote:
>
>
> On Mon, Jun 24, 2024 at 12:48 PM Zhao Zhili
> wrote:
>
>> From: Zhao Zhili
>>
>> Before the patch, disable threads support at configure/build time
>> was the only method to force zero thread in executor. However,
>> it's common practice for li
On Mon, Jun 24, 2024 at 12:48 PM Zhao Zhili wrote:
> From: Zhao Zhili
>
> Before the patch, disable threads support at configure/build time
> was the only method to force zero thread in executor. However,
> it's common practice for libavcodec to run on caller's thread when
> user specify thread
From: Zhao Zhili
Before the patch, disable threads support at configure/build time
was the only method to force zero thread in executor. However,
it's common practice for libavcodec to run on caller's thread when
user specify thread number to one. And for WASM environment, whether
threads are sup
Nuo Mi 于2024年6月19日周三 16:40写道:
>
> On Tue, Jun 18, 2024 at 8:06 PM Steven Liu wrote:
>
> > Nuo Mi 于2024年6月18日周二 19:51写道:
> > >
> > > On Mon, Jun 17, 2024 at 5:28 PM Zhao Zhili
> > wrote:
> > >
> > > >
> > > >
> > > > > On Jun 17, 2024, at 16:45, Hendrik Leppkes
> > wrote:
> > > > >
> > > > > On
On Tue, Jun 18, 2024 at 10:24 PM Zhao Zhili wrote:
>
>
> > On Jun 18, 2024, at 19:50, Nuo Mi wrote:
> >
> > On Mon, Jun 17, 2024 at 5:28 PM Zhao Zhili
> wrote:
> >
> >>
> >>
> >>> On Jun 17, 2024, at 16:45, Hendrik Leppkes
> wrote:
> >>>
> >>> On Mon, Jun 17, 2024 at 10:03 AM Zhao Zhili
> >>
On Tue, Jun 18, 2024 at 8:06 PM Steven Liu wrote:
> Nuo Mi 于2024年6月18日周二 19:51写道:
> >
> > On Mon, Jun 17, 2024 at 5:28 PM Zhao Zhili
> wrote:
> >
> > >
> > >
> > > > On Jun 17, 2024, at 16:45, Hendrik Leppkes
> wrote:
> > > >
> > > > On Mon, Jun 17, 2024 at 10:03 AM Zhao Zhili
> > > wrote:
>
> On Jun 18, 2024, at 19:50, Nuo Mi wrote:
>
> On Mon, Jun 17, 2024 at 5:28 PM Zhao Zhili wrote:
>
>>
>>
>>> On Jun 17, 2024, at 16:45, Hendrik Leppkes wrote:
>>>
>>> On Mon, Jun 17, 2024 at 10:03 AM Zhao Zhili
>> wrote:
> On Jun 17, 2024, at 15:05, Anton Khirnov w
Nuo Mi 于2024年6月18日周二 19:51写道:
>
> On Mon, Jun 17, 2024 at 5:28 PM Zhao Zhili wrote:
>
> >
> >
> > > On Jun 17, 2024, at 16:45, Hendrik Leppkes wrote:
> > >
> > > On Mon, Jun 17, 2024 at 10:03 AM Zhao Zhili
> > wrote:
> > >>
> > >>
> > >>
> > >>> On Jun 17, 2024, at 15:05, Anton Khirnov wrote:
On Mon, Jun 17, 2024 at 5:28 PM Zhao Zhili wrote:
>
>
> > On Jun 17, 2024, at 16:45, Hendrik Leppkes wrote:
> >
> > On Mon, Jun 17, 2024 at 10:03 AM Zhao Zhili
> wrote:
> >>
> >>
> >>
> >>> On Jun 17, 2024, at 15:05, Anton Khirnov wrote:
> >>>
> >>> Quoting Zhao Zhili (2024-06-17 07:19:26)
> >
> On Jun 17, 2024, at 16:45, Hendrik Leppkes wrote:
>
> On Mon, Jun 17, 2024 at 10:03 AM Zhao Zhili wrote:
>>
>>
>>
>>> On Jun 17, 2024, at 15:05, Anton Khirnov wrote:
>>>
>>> Quoting Zhao Zhili (2024-06-17 07:19:26)
From: Zhao Zhili
When thread_count be zero, it will be
On Mon, Jun 17, 2024 at 10:03 AM Zhao Zhili wrote:
>
>
>
> > On Jun 17, 2024, at 15:05, Anton Khirnov wrote:
> >
> > Quoting Zhao Zhili (2024-06-17 07:19:26)
> >> From: Zhao Zhili
> >>
> >> When thread_count be zero, it will be run on current thread like
> >> !HAVE_THREADS.
> >
> > Other APIs tr
> On Jun 17, 2024, at 15:05, Anton Khirnov wrote:
>
> Quoting Zhao Zhili (2024-06-17 07:19:26)
>> From: Zhao Zhili
>>
>> When thread_count be zero, it will be run on current thread like
>> !HAVE_THREADS.
>
> Other APIs treat zero to mean "auto".
executor don’t detect cpu cores by itself. It
On Mon, Jun 17, 2024 at 9:05 AM Anton Khirnov wrote:
> Quoting Zhao Zhili (2024-06-17 07:19:26)
> > From: Zhao Zhili
> >
> > When thread_count be zero, it will be run on current thread like
> > !HAVE_THREADS.
>
> Other APIs treat zero to mean "auto".
>
Agreed, this approach for 0 to mean do it
Quoting Zhao Zhili (2024-06-17 07:19:26)
> From: Zhao Zhili
>
> When thread_count be zero, it will be run on current thread like
> !HAVE_THREADS.
Other APIs treat zero to mean "auto".
--
Anton Khirnov
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg
From: Zhao Zhili
When thread_count be zero, it will be run on current thread like
!HAVE_THREADS.
---
libavutil/executor.c | 28 ++--
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/libavutil/executor.c b/libavutil/executor.c
index 26691fe157..fb20104b58 10
15 matches
Mail list logo