Re: callback order besides priority

[email protected] (Joshua N Pritikin)
Newsgroups perl.loop
Message-ID <[email protected]>
On Mon, Feb 07, 2000 at 03:51:55PM +0100, [email protected] wrote:
> watcher priorities control which watcher is activated first if two
> events occur simultaneously. But is there an determined order if there
> are watchers with the same priority?
> 
> Example: two watchers are made to watch the same variable. A is made a
> second before B, both with the same priority. If the watched variable is
> modified, surely the expected events occur simultaneously! But will
> there be a determined callback order as well, e.g. "A is served first
> because it was made before B"?

FIFO.

I added the attached test and updated the documentation.

-- 
"Never ascribe to malice that which can be explained by stupidity."
                            via, but not speaking for Deutsche Bank
fifo.t (application/x-troff, 448 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.