pthreads on Win2k

Stephen R. Johns stephen.johns@securelogix.com
Fri Mar 23 06:31:00 GMT 2001


Probably not related, but just in case...

I've been trying to port a linux program to pthreadw32, and found
a mutex issue/difference.

Linux allows threads other than the locking thread to unlock a mutex,
but pthreads does not.  So if you are trying to do that, your
unlocks never work.


Steve Croall wrote:

> I have run a pthreaded application successfully on win2k as well as windows
> NT.  The application was originally developed in NT.
> 
> Steve.
> 
> -----Original Message-----
> From: John Funnell [ mailto:jfunnell@projectmayo.com ]
> Sent: 22 March 2001 19:20
> To: pthreads-win32@sourceware.cygnus.com
> Subject: pthreads on Win2k
> 
> 
> Has anyone successfully run pthread-win32 on win2k?  I have an application
> (nothing too smart, two threads, a mutex) which runs fine on a dual NT box
> but not on a single processor Win2k machine.
> 
> It's most likely I'm doing something silly but it would be encouraging to
> hear some else's success story on 2k.
> 
> Also is there a list of know bugs/FAQs for this project?
> 
> Thanks for a great library,
> 
> John Funnell,
> Project Mayo



More information about the Pthreads-win32 mailing list