Subj : Re: Are Mutexes/Locks/Syncs necessary on a Read-only Array? To : comp.programming.threads From : David Schwartz Date : Sat Aug 13 2005 02:44 am "KEN GUSTAFSON" wrote in message news:QtcLe.1794$Rp5.723@trnddc03... > My setup: Suse 9.3 w/nptl v2.3.4 on a (single) opteron box. > Hopefully a simple question: I have a large (actually ~4GB) global array > of > chars I would like multiple threads to only read. Is the use of any > mutexes/locks/sync mechanisms required for this? The array is fully > initialized before any thread creation. POSIX threads guarantees that thread creation synchronizes memory between the created thread and the creating thread at the instant of the call. So no further synchronization is needed if the data is never modified. DS .