Linux multithread option, pthread , D_REENTRANT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/ 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux