01-14-2008 04:59 PM
01-14-2008
05:16 PM
- last edited on
05-05-2025
02:10 PM
by
Content Cleaner
This help page explains some of the restrictions for using dynamic events. The main one to note is below:
"Avoid branching an event registration refnum wire because that allows multiple Event structures to pull events from one queue and introduces a race condition that can cause unpredictable behavior."
One event based mechanism that allows you to broadcast events to multiple locations is a Notifier. Notifiers can send arbitrary data with their notifications. They operate much like queues, except there is no buffering involved. You send one notification at a time, and that overwrites any previous notifications. But multiple Wait on Notifications can receive the same notification event data. These don't work with Event Structures. You might need a separate listen loop to listen for incoming notifications if you implemented them.
01-15-2008 01:34 AM
01-15-2008 09:03 AM