"alesj" wrote :
| Looking at HDScanner's activeScan I think I might get away with
| calling cancel on it, and spinning a bit around until it's done (activeScan.isDone
== true)
|
| Or too hack-ish? :-)
Ugh. If you are waiting on a future, use get(), don't spin. Also, if a cancellation is
successful, then isDone will immediately be true, even if the thread for the task is still
running.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215890#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...