class KThread_data_
{
public:
KThread *thread;
#ifdef KTR_PTHREADS
pthread_t pthread;
pthread_mutex_t mutex;
pthread_cond_t cond;
#endif
#ifdef KTR_NO_THREADS
char command;
#else
int fd[2];
QSocketNotifier *notifier;
#endif
int progress;
bool sync;
bool canceled;
};