[FFmpeg-devel] [RFC] Removing non-pthreads support
Måns Rullgård
mans
Tue Apr 20 18:20:09 CEST 2010
Gianluigi Tiesi <mplayer at netfarm.it> writes:
> On Mon, Apr 19, 2010 at 11:29:44PM -0300, Ramiro Polla wrote:
>> this is my latest patch against pthreads-win32 CVS 20091019. compiles
>> and links and works fine with both gcc and msvc (the later was asked
>> by an ffms2 dev) and any combination of those 2. what it does is:
>> - remove the false wsock32 dependency
>
> the dep is not false :D
How the f*ck does a threading library end up depending on a socket
library?
>> - remove the requirement for PTW32_STATIC_LIB to be defined for using
>> the library in mingw32 (like faac did)
>> - hint the linker (currently gcc and msvc) to run the initialization
>> code before main() or DllMain().
>
> declspec constructor/destructor
> are enough, just register pthread process attach/detch
I won't even pretend to understand what all that is good for.
>> I'm not sending them upstream myself (busy/lazy), but feel free to
>> split them up and send them...
>
> pthreads_win32 upstream? looks unmaintained
Someone should fork it then.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list