Subj : Re: Boss Told Me You Can't Use Semaphore, But I Have To Do Something like It! To : comp.programming.threads From : Sean Kelly Date : Tue Jul 19 2005 03:11 pm Instead of a 1, why not write the app's PID into this memory segment. So each app waits for 0, writes its PID, then reads to see if its PID is set. If so, it continues. Not as nice as a semaphore, but it addresses the clobbering problem you mention. Though I'd still ask for an explanation regarding the "no semaphores" rule. In my experience, such requirements are often unfounded. Sean .