terminate()
Non-recursive mutex already locked by this thread
void parVF::run(){ double obr=0.0, vit=0.0,tz=0.0,kz=0; calc( &obr, &tz, &vit, &kz); if ( kz == 0 ) { T = obr; H = tz; L =vit; } } // выдача результата расчета QApplication::postEvent( rc, new THL_Message(T,H,L) );}
parVF = new parV(this,F0); if (parVF) { parVF->start(); }
if (parVF) { parVF->terminate(); if (parVF->finished()) { delete (parVF); parVF=0; } }
parVF->terminate();parVF->wait();
while(1) usleуp(1);