This is the mail archive of the
pthreads-win32@sourceware.cygnus.com
mailing list for the pthreas-win32 project.
RE: pthread-win32 for winCE ?
- To: 'Tristan Savatier' <tristan@mpegtv.com>, bje@cygnus.com, rpj@ise.canberra.edu.au, rjc@trump.net.au, "Bossom, John" <John.Bossom@Cognos.COM>, anorland@hem2.passagen.se, tml@iki.fi, Kevin.Ruland@anheuser-busch.com
- Subject: RE: pthread-win32 for winCE ?
- From: "Bossom, John" <John.Bossom@Cognos.COM>
- Date: Fri, 6 Aug 1999 11:45:52 -0400
- Cc: Gilles Boccon-Gibod <gilles@xaudio.com>, pthreads-win32@sourceware.cygnus.com
Tristan,
could you be very specific?
The correct solution would be to simulate the missing
functionality on WinCE, NOT restrict the implemention of
Win32 to be only that for WinCE.
i.e.) I don't have WinCE, therefore I don't know what
is there and what isn't. Please list ALL undefined
symbols. I want to know if semaphores are supported
at all or only partially.
Thanks,
John
-----Original Message-----
From: Tristan Savatier [mailto:tristan@mpegtv.com]
Sent: Friday, August 06, 1999 3:48 AM
To: bje@cygnus.com; rpj@ise.canberra.edu.au; rjc@trump.net.au;
John.Bossom@cognos.com; anorland@hem2.passagen.se; tml@iki.fi;
Kevin.Ruland@anheuser-busch.com
Cc: Gilles Boccon-Gibod; pthreads-win32@sourceware.cygnus.com
Subject: 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