[FFmpeg-devel] [PATCH] Reimplementation of OS/2 threads model

KO Myung-Hun komh
Thu Apr 29 14:14:50 CEST 2010



Ramiro Polla wrote:
> On Wed, Apr 28, 2010 at 11:45 AM, KO Myung-Hun <komh at chollian.net> wrote:
>> But now pthreads codes are in os2thread.c, so pthread lib is
>> unnecessary. And we can use all the codes of pthread.c without modifying
>> it at all. If possible, I would like to use '#include "pthread.c"' using
>> some guard macros. This reduces the maintenance burden you are saying.
> 
> Could you not make that code a simple library with a subset of
> pthreads that ffmpeg needs? You could then link against that library
> with the current pthreads code in FFmpeg.
> 

Do you mean an additional external lib ? If so, I think there is no
differences from using the existent pthreads lib.

Otherwise, I've used just '#include "pthread.c"' as I said before.

> Also have you tested performance?

How can I do the performance tests ?

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.0.3
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1GHz with 512 MB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: os2thread.diff
Type: text/x-diff
Size: 8732 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100429/b72c3dee/attachment.diff>



More information about the ffmpeg-devel mailing list