MCPcopy Create free account
hub / github.com/KLayout/klayout / done

Method done

src/laybasic/laybasic/layRedrawThread.cc:376–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376void
377RedrawThread::done ()
378{
379 // stop timer if there is one
380 m_main_timer.reset (0);
381
382 wakeup ();
383
384 // release the workers' resources
385 for (int i = 0; i < num_workers (); ++i) {
386 RedrawThreadWorker *w = dynamic_cast <RedrawThreadWorker *> (worker (i));
387 if (w) {
388 w->finish ();
389 }
390 }
391
392 // send a signal to the canvas that the drawing has finished
393 mp_canvas->signal_end_of_drawing ();
394}
395
396void
397RedrawThread::finished ()

Callers 2

render_fillMethod · 0.45
render_fill_orthoMethod · 0.45

Calls 5

num_workersFunction · 0.85
workerFunction · 0.85
resetMethod · 0.45
finishMethod · 0.45
signal_end_of_drawingMethod · 0.45

Tested by

no test coverage detected