Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Interface «eoos::api::Mutex»

Mutex interface.

public: virtual ~Mutex();

Destructor.

public: virtual bool_t isConstructed() const;

Tests if this object has been constructed.

Returns:
True if object has been constructed successfully.

public: virtual bool_t lock();

Locks this mutex.

Returns:
True if this mutex is locked successfully, or false if an error occurred.

public: virtual bool_t tryLock();

Tries to locks this mutex.

Returns:
True if this mutex is locked successfully, or false if other thread locked on this mutex.

public: virtual void unlock();

Unlocks this mutex.

Back to class list