K
Kürþat
Hi all,
I have a named autoreset event (EventWaitHandle) and two applications one
waits on the event and one sets the evet. Application A calls Set method and
free a thread in application B. What I want to know is when Set method
returns can I assume event is certainly reset?
Is this ordering always true :
1- Application A calls Set method (No doubt)
2- Application B gets out of lock (2 or 3 or uncertain)
3- Set method returns (2 or 3 or uncertain)
4- Event is certainly reset now (?)
Thanks in advance.
I have a named autoreset event (EventWaitHandle) and two applications one
waits on the event and one sets the evet. Application A calls Set method and
free a thread in application B. What I want to know is when Set method
returns can I assume event is certainly reset?
Is this ordering always true :
1- Application A calls Set method (No doubt)
2- Application B gets out of lock (2 or 3 or uncertain)
3- Set method returns (2 or 3 or uncertain)
4- Event is certainly reset now (?)
Thanks in advance.