View Single Post
  #8 (permalink)  
Old 07-07-2008, 10:40 PM
jmHoekst jmHoekst is offline
Member
 
Join Date: Jun 2008
Posts: 14
jmHoekst is on a distinguished road
I have been using a new thread to make the batch call, and thus have to give it a name. I then use the main thread to check if it is done within 5 minutes. I pretty much have it all figured out now, but I do not know how to terminate the thread if it has failed to return. Java tells me that Thread.stop() is unsafe.

Also, how do i reference the Main thread? Can I reference it from itself?
Reply With Quote