VTKFIG  0.20.20181114
Easy VTK based in situ visualization
vtkfig::internals::MainThread::~MainThread ( )
private

Definition at line 134 of file vtkfigMainThread-2018-01-26-2205.cxx.

135  {
136  if (debug_level>0)
137  cout << " ~mt" << endl;
138  if (this->running_multithreaded)
139  {
140  std::this_thread::sleep_for(std::chrono::milliseconds(10));
141  Terminate();
142  std::this_thread::sleep_for(std::chrono::milliseconds(10));
143  this->thread->join();
144  }
145  else
146  Terminate();
147 
148  framemap.clear();
149  }
std::shared_ptr< std::thread > thread
std::thread which runs rendering resp. communication
int debug_level
Debug level for client communication.
std::map< int, Frame * > framemap
Map of all frames handeled by thread.
bool running_multithreaded
Thread state.

+ Here is the call graph for this function: