I have the following javascript
ployment in the call of a Thread
.
I would like to print in the log the moment the Thread was terminated. It is possible?
func4 = {
run: function(){
atv4();
}
};
r4 = new java.lang.Runnable(func4);
t4 = new java.lang.Thread(r4);
t4.start();
log.info("Iniciei a thread atv4");
return;