Not really sure when it happened.

It works in a repl launched from lein.

simple example from somewhere:

M-x clojure-jack-in

(def abc
    (agent "Initial Value of Agent = This string"))

;; (B) The function to send a message to the agent.
(defn go []
  (send abc
        (fn [_]
            ;; Wait here for 5 seconds)
            (. java.lang.Thread sleep 5000)
            (println "Print from concurrent send agent")
            "1 2 3 4 (Final Value, I am done)")))

(go)

Never returns the final value from @abc.

Windows7
Clojure 1.2.0
GNU Emacs 23.3.1 (i386-mingw-nt6.1.7600) of 2011-03-10 on 3249CTO
Leiningen 1.6.1 on Java 1.6.0_26 Java HotSpot(TM) Client VM

Anyone?

-- 
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

Reply via email to