Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » BaseAgent.waitForTermination()
BaseAgent.waitForTermination() [message #109923] Thu, 23 August 2007 15:14
Roman Smirak is currently offline Roman Smirak
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: Mon Sep 01 19:37:18 EDT 2014

Powered by FUDForum. Page generated in 0.02884 seconds