class axl::sys::win::Thread

#include <axl_sys_win_Thread.h>

class Thread: public axl::sys::win::WaitableHandle
{
public:
    // construction

    Thread();

    // methods

    uint_t
    getThreadId();

    void
    close();

    bool
    create(
        SECURITY_ATTRIBUTES* secAttr,
        size_t stackSize,
        PTHREAD_START_ROUTINE threadFunc,
        void* context,
        uint_t flags
        );

    bool
    setPriority(int priority);

    bool
    terminate(dword_t exitCode);

    bool
    getExitCode(dword_t* exitCode);
};

Inherited Members

public:
    // typedefs

    typedef T H;

    // methods

    operator T() const;

    T
    operator->() const;

    const Handle&
    operator=(T h);

    bool
    isOpen() const;

    void
    close();

    void
    attach(T h);

    T
    detach();

    T*
    p();

    static
    T
    getInvalidHandle();

    WaitResult
    wait(
        uint_t timeout = -1,
        bool isAlertable = false
        );

    static
    WaitResult
    multiWait(
        HANDLE* waitArray,
        dword_t count,
        bool doWaitAll = false,
        uint_t timeout = -1,
        bool isAlertable = false
        );