Subj : Re: stupid threading question .... To : comp.programming.threads From : John Hickin Date : Mon Aug 15 2005 02:50 pm "David Schwartz" wrote in message news:ddqjko$boh$1@nntp.webmaster.com... > > "Daniel Rayment" wrote in message > news:TYWdnbU705-2pp3eRVn-pg@rogers.com... > > > but how bout on a 2 or more processor machine? in the unlikely event that > > 2 threads want to call the same function at the same time. (Once again > > we are not talking about accessing data types or sharing global variable > > or anything that "obviously is bad"). ssuppose the function that gets > > called at the same time is > > Why would there be a problem? The function isn't changing, so two > threads are just reading the same unchanging information. > If the thread function maps in a DLL the latter's init code will run. I think that could be a Windows-specific gotcha. Regards, John. .