On 22/02/2010 10:33, Andrew West wrote: > Trying to initialise a pthread attribute in a static variable seems to > cause a segfault. I've attach a simple test case compiled using; > > g++ -g mutex.cpp -o mutex.dll -lpthread
You must have accidentally omitted "-shared" here, since it wouldn't link otherwise. > The only other bits of information I can give which might or might not > be helpful are; Run "cygcheck -s -r -v > cygcheck.out" and then send that to the list *as an attachment* (i.e. not inline in the body text). TIA! cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple