Hi Steve
WaitHandle.SignalAndWait (
http://msdn.microsoft.com/en-us/library/system.threading.waithandle.signalandwait.aspx) corresponds to the Windows API: SignalObjectAndWait (
http://msdn.microsoft.com/en-us/library/ms686293(VS.85).aspx). So if you'd like to do it in native code in future, you can consider this API.
Have a nice day!
Regards,
Jialiang Ge
MSDN Subscriber Support in Forum
If you have any feedback of our support, please contact
msdnmg@microsoft.com.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.