On 30 Oct, 16:18, Albert Cardona <sapri...@gmail.com> wrote:
> How about:
>
> (import '(java.util.concurrent Executors TimeUnit))
...<snip>...
> Admittedly very java-ish.
Personally, I think Java-ish is the way to go here. John's actor lib
is pretty nifty, but it is relying on implementation details of the
threading of agent send handlers to try and ensure timely activity.
This seems like a case where we need certain functionality, Java has a
good library (the Executor framework, or Quartz), therefore we should
just use it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---