Brian Dumas
asked on
One named event, multiple event handlers
Hello Experts, I have a large multi process project that requires handling windows named events. My question is, if I have multiple processes that need to handle the same named event, will one call to SetEvent allow all the handlers to see it? Or do I have to have one named event for each event handler?
In pseudo code:
Process A : handle named event EVENT_RESET
Process B : handle named event EVENT_RESET
...
...
Process C : Set Event(EVENT_RESET)
Will Process A and Process B both receive the event?
or do I need to do something like this:
Process A : handle named event EVENT_RESET_A
Process B : handle named event EVENT_RESET_B
...
...
Process C : Set Event(EVENT_RESET_A)
Process C : Set Event(EVENT_RESET_B)
Thanks, Brian
In pseudo code:
Process A : handle named event EVENT_RESET
Process B : handle named event EVENT_RESET
...
...
Process C : Set Event(EVENT_RESET)
Will Process A and Process B both receive the event?
or do I need to do something like this:
Process A : handle named event EVENT_RESET_A
Process B : handle named event EVENT_RESET_B
...
...
Process C : Set Event(EVENT_RESET_A)
Process C : Set Event(EVENT_RESET_B)
Thanks, Brian
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER