Sha256: b990bc22988b3c6dd8e0d1bffba5ced30e9de3dfee790e845c74b2c8db66db12
Contents?: true
Size: 774 Bytes
Versions: 12
Compression:
Stored size: 774 Bytes
Contents
#ifndef RHO_POSIX_THREAD_IMPL_9e4b35f90ae146ae9c809ca56e4ef856 #define RHO_POSIX_THREAD_IMPL_9e4b35f90ae146ae9c809ca56e4ef856 #include "common/IRhoThreadImpl.h" #include "logging/RhoLog.h" namespace rho { namespace common { class CPosixThreadImpl : public IRhoThreadImpl { DEFINE_LOGCLASS; public: CPosixThreadImpl(); void start(IRhoRunnable *pRunnable, IRhoRunnable::EPriority ePriority); void stop(unsigned int nTimeoutToKill); void wait(unsigned int nTimeout); void stopWait(); void sleep(unsigned int nTimeout); private: pthread_cond_t m_condSync; common::CMutex m_mxSync; pthread_t m_thread; bool m_started; }; } // namespace common } // namespace rho #endif // RHO_POSIX_THREAD_IMPL_9e4b35f90ae146ae9c809ca56e4ef856
Version data entries
12 entries across 12 versions & 1 rubygems