class axl::sys::psx::Thread

#include <axl_sys_psx_Thread.h>

class Thread
{
public:
    // construction

    Thread();
    ~Thread();

    // methods

    operator pthread_t();

    bool
    isOpen();

    bool
    create(
        const pthread_attr_t* attr,
        ThreadFunc* threadFunc,
        void* context = NULL
        );

    bool
    create(
        ThreadFunc* threadFunc,
        void* context = NULL
        );

    bool
    cancel();

    bool
    join(void** retVal = NULL);

    bool
    tryJoin(void** retVal = NULL);

    bool
    join(
        uint_t timeout,
        void** retVal = NULL
        );

    bool
    detach();
};