Thanks to everyone for the helpful replies. I've been using futures in this
manner for a long time now and they work fine, but I wanted to make sure
this is the specified behavior.
--J.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to thi
I'm using futures for queuing jobs to stress test a server, multiple
processess,each reciving and futuring job. Works as expected for many
days with no problems in cpu and mem usage... Clojure rox.
On 28 Wrz, 22:48, Mark wrote:
> The future object itself is garbage collected but the thread is n
The future object itself is garbage collected but the thread is not, so you
should be ok.
--
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 -
It won't get GC until it finishes running unless the thread throws an unhandled
Exception or the application is terminated.
Matt Hoyt
From: Jan Rychter
To: clojure@googlegroups.com
Sent: Wednesday, September 28, 2011 3:38 PM
Subject: Are futures ga
If I create a future but do not hold on to it anywhere and never dereference
it, is the thread guaranteed to run until successful completion?
In other words, if I create futures entirely for side effects, should I
worry about them getting terminated and GCd?
I looked for an answer but could not