Joshua N Pritikin wrote: >Note: There is no implicit check for unreified asynchronous events. >There is an obscure situation where this can make a difference. If >you are starting additional signal watchers for the same signal then >such watchers may see signals which were actually received prior to >being started. Call C<queue_pending()> immediately before starting a >signal watcher if you need to avoid this.
I think I can be more precise: Note: If there are any unreified asynchronous events that are of interest to the watcher, it will see these events even though they happened before it was started. This affects signal watchers, but there will only be existing unreified signal events if Event was already handling the signal, which it would only do if there were another active watcher for the same signal. If this situation might occur, and it would be a problem for the new watcher to see older events, call C<queue_pending()> immediately before starting the new watcher in order to reify any outstanding events. -zefram
