Subj : Re: stupid threading question .... To : comp.programming.threads From : John Hickin Date : Mon Aug 15 2005 05:18 pm It has been a while since I did anything on Windows but I remember that there were critical sections under the hood during DLL init. This was a source of all kinds of interactions. Regards, John. "David Schwartz" wrote in message news:ddqlg4$cdf$1@nntp.webmaster.com... > > "John Hickin" wrote in message > news:ddqklp$q95$1@zcars129.ca.nortel.com... > > > "David Schwartz" wrote in message > > news:ddqjko$boh$1@nntp.webmaster.com... > > >> 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. > > Why would that be a gotcha? So what? > > DS > > .