On Thu, Jan 30, 2014 at 12:48 PM, Jozef Wagner <jozef.wag...@gmail.com>wrote:

>
> go blocks, together with >!, <!, alt!, etc... do not create any new
> threads and are not run in separate thread. There is no thread pool for go
> blocks.
>

I thought that go blocks do run in a thread pool of size 42 + (2 * Num of
processors). In the definition of the go macro there is a
dispatch/run<https://github.com/clojure/core.async/blob/master/src/main/clojure/clojure/core/async.clj#L369>whose
docstring<https://github.com/clojure/core.async/blob/master/src/main/clojure/clojure/core/async/impl/dispatch.clj#L19>says
it uses a thread pool.

Am I misunderstanding something?

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to