class axl::sys::psx::Sem

#include <axl_sys_psx_Sem.h>

class Sem
{
public:
    // construction

    Sem(
        bool isShared = false,
        uint_t value = 0
        );
    ~Sem();

    // methods

    operator sem_t *();

    bool
    post();

    bool
    signal();

    bool
    tryWait();

    bool
    wait();

    bool
    wait(uint_t timeout);

    bool
    getValue(int* value);
};