|
@@ -92,11 +92,11 @@ public class ZillaRuntime { |
|
|
return TerminationRequestResult.terminated; |
|
|
return TerminationRequestResult.terminated; |
|
|
} else { |
|
|
} else { |
|
|
if (log.isWarnEnabled()) log.warn("terminate: thread did not respond to interrupt, but onlyIf function returned false, not killing: " + thread + (verbose ? " with stack " + stacktrace(thread) + "\nfrom: " + stacktrace() : "")); |
|
|
if (log.isWarnEnabled()) log.warn("terminate: thread did not respond to interrupt, but onlyIf function returned false, not killing: " + thread + (verbose ? " with stack " + stacktrace(thread) + "\nfrom: " + stacktrace() : "")); |
|
|
return TerminationRequestResult.interrupted; |
|
|
|
|
|
|
|
|
return TerminationRequestResult.interrupted_alive; |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
if (log.isWarnEnabled()) log.warn("terminate: thread exited after interrupt: "+thread); |
|
|
if (log.isWarnEnabled()) log.warn("terminate: thread exited after interrupt: "+thread); |
|
|
return TerminationRequestResult.interrupted; |
|
|
|
|
|
|
|
|
return TerminationRequestResult.interrupted_dead; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|