Sha256: abd6a154bfd2c87caeca264fc2560c6c75721ab49e0e4f8a785531f422636767
Contents?: true
Size: 754 Bytes
Versions: 11
Compression:
Stored size: 754 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; }; } // namespace common } // namespace rho #endif // RHO_POSIX_THREAD_IMPL_9e4b35f90ae146ae9c809ca56e4ef856
Version data entries
11 entries across 11 versions & 1 rubygems