Subj : Re: reliability of setting thread priority To : comp.programming.threads From : gottlobfrege Date : Wed Feb 23 2005 11:35 pm David Schwartz wrote: > > Why not a global static mutex? > > DS Well, 1. I would like to know how well supported and consistent the thread priority stuff is regardless, even if just for future reference. And, 2. I want/need it to work regardless of the order of static initialization - ie the intent is a StaticLocalCriticalSection, which may be created/declared in a function called *during* static initialization, so I can't be sure my global static mutex is created yet. (And I know that if the function is called during static init, then there is only one thread running and no need for the CS in the first place, but I don't *know* that it is called during static init, only that it *may* be.) Am I correct in my thinking? Tony .