Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » BaseAgent.waitForTermination()
BaseAgent.waitForTermination() [message #109923] Thu, 23 August 2007 19:14
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

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
TimeCollectorAgent->waitForTermination();

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

System.exit(1);

}

Where the System.exit() means: Terminates the currently running Java Virtual
Machine.

Well, may this work?

Roman
Previous Topic:TPTP Release for Eclipse C/C++
Next Topic:Using Instrument collector for JMX & ARM Analysis
Goto Forum:
  


Current Time: Tue Apr 16 23:50:40 GMT 2024

Powered by FUDForum. Page generated in 1.09155 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top