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