From: Roger W. <ROG...@sa...> - 2007-02-14 22:59:51
|
FWIW I am following this with interest since we field lots (~25) programs as part of our survey system that are all multithreaded. They are "C" programs that have been built first with MinGW gcc v2.95.2 and for the last year or so with gcc v3.3.1. We have never used the -mthread flag and never have had a problem from this source as far as we know. Maybe its time for some experiments... Brian Dessent wrote: > James Steward wrote: > > >> If a threaded app is written in C where there's no exception handling, >> it shouldn't be a problem, right? >> > > I'm not sure. But I did notice that if _MT is not defined then stdio.h > selects faster non-threadsafe versions of getc, putc, getchar, and > putchar. So using those functions in a multithreaded C application > without -mthreads would be a possible example of such a case. I didn't > see any other obvious uses of _MT but I didn't really look that hard. > > Brian > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > > -- Roger Wells, P.E. SAIC 221 Third St Newport, RI 02840 401-847-4210 (voice) 401-849-1585 (fax) rog...@sa... |