Hi Ivan,
Thanks for the tip. I'll get the polling solution working until Java 7 is
supported by Clojure. I really want to see how well I can model different
network protocols using Clojure's agents as asynchronous state machines, as
this is why I started looking at Clojure in the first place.
I
Hello André,
Just wanted to mention that Java 7 is feature complete. You can see the list
of approved features here:
http://openjdk.java.net/projects/jdk7/features/
It seems that JSR203 was selected for the release, although I remember
reading that Clojure won't support Java 7 for awhile.
Cheers
After further analysis, I don't think this is globally a good
strategy.
I looked into a solution with a "(ref (clojure.lang.PersistentQueue/
EMPTY))" in the selector agent. The plan was to have be able to queue
"updates" to the schedule synchronously. Half-way through the
implementation, I reali