The code for actor looks very different this morning. Obviously an immutable queue is being used.
On Sunday, July 19, 2015 at 2:12:43 AM UTC-4, William la Forge wrote: > > I've been working with agents and it looked like messages are often > processed in the reverse of the order received. I checked > http://clojure.org/agents and confirmed that "Actions dispatched to an > agent from another single agent or thread will occur in the order they were > sent, potentially interleaved with actions dispatched to the same agent > from other sources." > > So I looked in Agent.java at github.com/clojure/clojure and found that > incoming messages were stacked rather than queued. Is this a documentation > bug? > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.