Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Interface «eoos::api::Thread»

Thread interface.

public: virtual ~Thread();

Destructor.

public: virtual bool_t execute();

Causes this thread to begin execution.

Returns:
True if execution of the thread initiated successfully.

public: virtual int32_t getPriority() const;

Returns this thread priority.

Returns:
Priority value, or PRIORITY_WRONG if an error has been occurred.

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 join();

Waits for this thread to die.

Returns:
True, if this thread is dead.

public: virtual bool_t setPriority(int32_t priority);

Sets this thread priority.

Parameters:
priority — Number of priority in range [PRIORITY_MIN, PRIORITY_MAX], or PRIORITY_LOCK.

Returns:
True if priority is set.

Back to class list