This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC with -mthreads



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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]