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

KO Myung-Hun komh
Wed Apr 28 16:45:06 CEST 2010



M?ns Rullg?rd wrote:
> KO Myung-Hun <komh at chollian.net> writes:
> 
>> M?ns Rullg?rd wrote:
>>>
>>> Would it be possible to use the native semaphores, or is this
>>> emulation strictly required?  If we end up emulating win32threads, we
>>> might as well use the pthreads emulation instead and save ourselves
>>> some trouble.
>>>
>>
>> I've attach the patch using the pthreads emulation.
> 
> A working pthreads library for OS/2 already exists.  I was suggesting
> we use that, since then we could simply drop os2thread.c and use only
> our pthreads code, reducing the maintenance burden for everybody.
> 

Hmm... Again start point.

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.

BTW who is 'everybody' being going to take the maintenance burden ? Will
you do it ? I think they will be OS/2 people like me. At least, I
willing to take the burden if needed.

Finally, I think, pthread.c is sufficient for the reference codes and
the fall back codes. The more opportunity of the choice is better.

-- 
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




More information about the ffmpeg-devel mailing list