Re: Blocked read on a thread of execution

2010-08-24 Thread Timothy Washington
Thar she blows. This works: * **(let [agt (agent nil)] * * * * **(send-off agt * * **(fn [] (println "FINAL > " * * **(with-out-str (**some-function-that-blocks-on-read*** * **nil* * **) * * **)* * * * **(println "foobar")* Danke Schon Tim On Tue, Aug 24, 2010 at 10:17 AM, Mark Rathwell w

Re: Blocked read on a thread of execution

2010-08-24 Thread Mark Rathwell
It's not send and send-off that are blocking, it is your (println "Final"... send expects a function, so it is waiting for "(println..." to return some function to apply to the agent. On Tue, Aug 24, 2010 at 9:16 AM, Timothy Washington wrote: > Ok, I have a dumb question here. Using Clojure's c