JS8Call-Improved master
Loading...
Searching...
No Matches
sleep.h
Go to the documentation of this file.
1
9#ifndef SLEEP_H
10#define SLEEP_H
11#include <qthread.h>
12
22class Sleep : public QThread {
23 public:
24 static void msleep(int ms) { QThread::msleep(ms); }
25 static int idealThreadCount() { return QThread::idealThreadCount(); }
26};
27
28#endif // SLEEP_H
Utility class for thread sleeping and ideal thread count retrieval.
Definition sleep.h:22