GCC with -mthreads

y2bismil@engmail.uwaterloo.ca y2bismil@engmail.uwaterloo.ca
Tue Nov 11 20:50:00 GMT 2003



Hi all,

I was browsing the forums and I came across a thread.  There's not much else on
it, so I thought I'd check here.

Are the any known problems with using the -mno-cygwin, -mthread switches
together.  The article states to use -mwindows explicitly.

My Problem:
I've got 2 threads running and they always appear to crash on memset.  If I step
through the code in asm, it works okay.  I suspect memset is not thread safe or
something like that.


BTW...anyone know how to easily see which libs are being linked in?
Thanks,

Yamin

----------------------------------------
This mail sent through www.mywaterloo.ca

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list