Revision: 55686
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 17, 2012 07:00 by ef
Initial Code
(doall (take threads-number (repeatedly #(doto (Thread. fn-name) (.start)))))
Initial URL
Initial Description
Creates number of threads (specified by 'threads-number') running fn-name function. This is possible, because every Clojure function implements Runnable interface.
Initial Title
Starting multiple threads
Initial Tags
Initial Language
Clojure