Ken Wesson <kwess...@gmail.com> writes:

Hi Ken,

>>> Does the resolving function run on, or use, another thread?
>>
>> No, it runs in the same thread.  But some functions like `vseq' in
>> the example produce LazySeqs.  So if LazySeq-realization computations
>> are run in a different thread by default, that would explain things.
>
> They're not, but if the LazySeq realization is not happening until
> after the scope of your with-schema-imports is exited, it would
> explain a thing or two. You may need to sprinkle some doalls about.

Oh, yes.  That was the exact issue.  But clearly forcing realization is
not a good solution.  Is there some better way to do what I want?
Maybe my macro should expand to something like that?

  ((fn [] (binding [...as before...] body)))

Bye,
Tassilo

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