Sha256: 92c442ac3ffb2cb2a043f8204d7241f8a67cbe4ec8267f9368eefbe8ddf43f7e

Contents?: true

Size: 594 Bytes

Versions: 1

Compression:

Stored size: 594 Bytes

Contents

#pragma once

#include "common/IRhoThreadImpl.h"

namespace rho{
namespace common{

class CRhoThreadImpl : public IRhoThreadImpl
{
    DEFINE_LOGCLASS;

    HANDLE m_hAwakeEvent;
    HANDLE m_hThread;
public:
    CRhoThreadImpl();
    ~CRhoThreadImpl();

    virtual void start(IRhoRunnable* pRunnable, IRhoRunnable::EPriority ePriority);
    virtual void stop(unsigned int nTimeoutToKill);
    virtual void wait(unsigned int nTimeout);
    virtual void stopWait();
    virtual void sleep(unsigned int nTimeout);

private:
    void setThreadPriority(IRhoRunnable::EPriority ePriority);
};

}
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhodes-2.0.3 platform/wm/rhodes/rho/common/RhoThreadImpl.h