IllegalArgumentException - if the value of millis is negativeInterruptedException - if any thread has interrupted the current thread. The interrupted status of the current thread is cleared when this exception is thrown.--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Ashish,It actually appears that there is no exception thrown by default when future-cancel is called on the thread *unless* you manage to overlook java functions that include some type of interrupt status handling. As I managed to do.Take a look at my below test-interrupt-status-2 that includes a try/catch loop to see what I mean.Thanks.
After this method returns, subsequent calls to isDone() will
always return true. Subsequent calls to isCancelled()
will always return true if this method returned true.