leojose
November 24th, 2005, 04:35 AM
Hi all,
I am using a SetEvent -> WaitForSingleObjectEx combination to process events and execute them sequentially. The loop or thread that sets events using SetEvent will be fast and random, while the thread that handles these events using WaitForSingleObjectEx api, will move at a fixed pace in trying to keep up with events received.
I would like to know what is the stack level of SetEvent? How many events can it buffer before running low on space or maybe overwritting previous contents?
I am using a SetEvent -> WaitForSingleObjectEx combination to process events and execute them sequentially. The loop or thread that sets events using SetEvent will be fast and random, while the thread that handles these events using WaitForSingleObjectEx api, will move at a fixed pace in trying to keep up with events received.
I would like to know what is the stack level of SetEvent? How many events can it buffer before running low on space or maybe overwritting previous contents?