Sha256: 6d35d50e723dc81fd9c8bc1b3fbfb95fc6ca05378e114ed66cf929b3d42da963
Contents?: true
Size: 499 Bytes
Versions: 4
Compression:
Stored size: 499 Bytes
Contents
#ifndef SUNSCRAPERTHREAD_H #define SUNSCRAPERTHREAD_H #include <QThread> #include <QSemaphore> class SunscraperThread : public QThread { Q_OBJECT public: static void invoke(); static void commitSuicide(); private: #if defined(Q_OS_LINUX) || defined(Q_OS_UNIX) static pthread_t m_thread; #else #error Your platform is unsupported. Implement SunscraperWorker::invoke() and send a pull request. #endif static void *thread_routine(void *arg); }; #endif /* SUNSCRAPERTHREAD_H */
Version data entries
4 entries across 4 versions & 1 rubygems