This is the mail archive of the pthreads-win32@sourceware.cygnus.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pthread-win32 for winCE ?


First, I have to congratulate you all for the good work.
I have had no problem using your pthread-win32 to port
a complex multithreaded linux application (a real-time
mpeg video+audio player) to win32.

But I noticed that your implementation currently relies on
some semaphore routines (e.g. ReleaseSemaphore) that do
not exist on WinCE (Windows-CE defines only a subset 
of the Win32 API).

So my question is: how difficult would it be to modify
pthread-win32 so that it could also be used on winCE 
platforms ?

I see two ways for doing that.

- Either change pthread-win32 so that it only calles 
routines that are defined on WinCE,

- Or keep the current implementation, identify the routines
that do not exist on WinCE and  emulate the missing routines
using WinCE primitives (e.g. re-implement the semaphores 
routines using the WinCE API).

What is your opinion on this problem ?

-t

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]