Hi,
I have the following code:
I'm running the aforementioned code inside a
servlet container (
tomcat).
The native method calls a Delphi method that executes a "showMessage", when the futureTask is running the native method calls the showMessage (it will just wait for the user to press "OK"), because it executes inside a servlet, the user doesn't see the dialog message, so, the task will run until the timeout.
The problem is that my task stops, but the
thread (pool-1-thread-1) doesn't stop.
In that case, how can I kill a thread?
Thanks in advance.