Linux multithread option, pthread , D_REENTRANT

sadf sadf patelx01@yahoo.com
Fri Jun 11 20:18:00 GMT 2004


Hi,
I want to build multithread option on Linux.
I am using gcc 3.2.x version.

I have found, I have to use -pthread option. Is it
correct option, to make my application multithreaded?

Do I have to use this option for compile time or/&
link time?

Do I have to use the "-D_REENTRANT" option, at
compiler time time?

Is there any other command line option should I add,
to make my application multithreaded?

Thank you,
Avin Patel


 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



More information about the Gcc-help mailing list