js8call/JS8_Include/sleep.h
2026-01-18 19:19:15 -06:00

12 lines
268 B
C++

// -*- Mode: C++ -*-
#ifndef SLEEP_H
#define SLEEP_H
#include <qthread.h>
class Sleep : public QThread {
public:
static void msleep(int ms) { QThread::msleep(ms); }
static int idealThreadCount() { return QThread::idealThreadCount(); }
};
#endif // SLEEP_H