Lines 156-161
Link Here
|
156 |
#define THREAD_ASSERT(x) if((x)!=0) { \ |
156 |
#define THREAD_ASSERT(x) if((x)!=0) { \ |
157 |
throw (qApp->translate("toThread","Thread function \"%1\" failed.").arg(QString::fromLatin1( #x ))); } |
157 |
throw (qApp->translate("toThread","Thread function \"%1\" failed.").arg(QString::fromLatin1( #x ))); } |
158 |
|
158 |
|
|
|
159 |
void *toThreadStartWrapper(void *t); |
160 |
|
159 |
void toThread::initAttr() |
161 |
void toThread::initAttr() |
160 |
{ |
162 |
{ |
161 |
//create the thread detached, so everything is cleaned up |
163 |
//create the thread detached, so everything is cleaned up |