By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,892 Members | 1,251 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,892 IT Pros & Developers. It's quick & easy.

WaitHandle/EventWaitHandle/Mutex State

P: n/a
Hello, Newsgroupians:

I'm still trying to work on synchronization of events. I think I can do it
using WaitHandle, EventWaitHandle, or Mutex. However, is it possible to
determine if the state is signaled or unsignaled for one of these? I've
looked on the Internet, but I cannot find any information in determining the
state. Thank you, again.
Trecius
Jul 2 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Wed, 02 Jul 2008 16:03:00 -0700, Trecius
<Tr*****@discussions.microsoft.comwrote:
I'm still trying to work on synchronization of events. I think I can do
it
using WaitHandle, EventWaitHandle, or Mutex. However, is it possible to
determine if the state is signaled or unsignaled for one of these? I've
looked on the Internet, but I cannot find any information in determining
the
state. Thank you, again.
Generally speaking, you can wait with a zero-length timeout. The wait
method will return immediately, and the return value for the method will
indicate whether the handle was signaled or not.

Pete
Jul 3 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.