[Ffmpeg-devel] [PATCH] disable all threads by default

Måns Rullgård mru
Sun Jan 7 01:34:58 CET 2007


Ramiro Polla <angustia at arrozcru.no-ip.org> writes:

> M?ns Rullg?rd wrote:
>> Ramiro Polla <angustia at arrozcru.no-ip.org> writes:
>>
>>
>>> M?ns Rullg?rd wrote:
>>>
>>>> ramiro at lisha.ufsc.br writes:
>>>>
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> Attached patch disables all threads by default as suggested by:
>>>>> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-December/050237.html
>>>>>
>>>>> It also ensures no more than one thread type is selected and prints the
>>>>> selected type in configure's output.
>>>>>
>>>>>
>>>> [...]
>>>>
>>>>
>>>>>    echo "  --enable-pthreads        use pthreads [default=no]"
>>>>>    echo "  --enable-w32threads      use Win32 threads [default=no]"
>>>>> +  echo "  --enable-beosthreads     use BeOS threads [default=no]"
>>>>> +  echo "  --enable-os2threads      use OS/2 threads [default=no]"
>>>>>
>>>>>
>>>> Is there any platform that supports more than one threading type?  If
>>>> not, replacing all those flags with a single --enable-threads would
>>>> make sense.
>>>>
>>> Windows supports pthreads.
>>>
>>
>> You mean with cygwin?
>>
> No. There's a port: http://sourceware.org/pthreads-win32/

OK, so there's another pthreads implementation for win32.  The way you
said it, it could be taken to imply that windows supported pthreads
natively.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list