The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-14-2008
jonas.gabriel jonas.gabriel is offline
Registered User
 

Join Date: Nov 2006
Posts: 17
Multithread app - Read-Only Data

Hello,

I'm coding an application using pthreads.At some point the threads will read some read-only variables.Is it safe NOT to use mutexes, in order to make the program lighter since mutex operations are resource-demanding...

Thanks
Reply With Quote
Forum Sponsor