Tech Support > Microsoft Windows > Development Resources > SetEvent of auto and manual
SetEvent of auto and manual
Posted by adv on August 26th, 2004


When creating an event object of either auto or manual, if SetEvent() is
called 100 times before WaitForSingleObject() is hit, will the following 100
WaitForSingleObject() calls return immediately? Thank you very much!


Posted by Olof Lagerkvist on August 26th, 2004


adv wrote:

No, if you want that, use a semaphore instead.

--
Olof Lagerkvist
ICQ: 724451
Web page: http://here.is/olof


Posted by Scott McPhillips [MVP] on August 26th, 2004


adv wrote:

No. An event is a boolean.

--
Scott McPhillips [VC++ MVP]



Similar Posts