|BaseAgent.waitForTermination() [message #109923]
||Thu, 23 August 2007 19:14
| Roman Smirak
Registered: July 2009
the documentation says:
void waitForTermination() .... Waits for a termination notice from the Agent
Controller. The agent should cleanup and exit when returning from this call.
Your TimeCollector.cpp main method ends with
However, the java equivalent doesn't use it and the java
BaseAgent.waitForTermination() looks like:
public void waitForTermination()
//This forces termination of all threads in the Java virtual machine
Where the System.exit() means: Terminates the currently running Java Virtual
Well, may this work?
Powered by FUDForum
. Page generated in 0.01473 seconds