Thank you. The solution was to include ptw32_processInitialize() before any pthread call.

On Thu, Dec 31, 2009 at 3:45 AM, Tor Lillqvist <tml@iki.fi> wrote:
The thread is about using a *static* pthread library. The above
tarball contains an import library for pthreadGC2.dll (which you
apparently already had in your PATH from earlier. Check with objdump
-p and you will notice that the executable you built links to
pthreadGC2.dll.

--tml

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users