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

On Thu, Dec 31, 2009 at 3:45 AM, Tor Lillqvist <> 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


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
MinGW-users mailing list

This list observes the Etiquette found at
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: