Skip to main content

thread::SemaphoreObject

  • Inherits: api::ExecutionContext public

Friends

Semaphore#

friend class Semaphore 

Type: class

Parameters:

UnnamedSemaphore#

friend class UnnamedSemaphore 

Type: class

Parameters:

Functions

SemaphoreObject(const SemaphoreObject &a)=delete#

thread::SemaphoreObject::SemaphoreObject (const SemaphoreObject &a)=delete

get_value() const#

int thread::SemaphoreObject::get_value () const

Type: int

operator=(const SemaphoreObject &a)=delete#

SemaphoreObject & thread::SemaphoreObject::operator= (const SemaphoreObject &a)=delete

Type: SemaphoreObject &

Parameters:

post()#

SemaphoreObject & thread::SemaphoreObject::post ()

Type: SemaphoreObject &

timedwait(const chrono::ClockTime &clock_time)#

inline

SemaphoreObject & thread::SemaphoreObject::timedwait (const chrono::ClockTime &clock_time)

Type: SemaphoreObject &

Parameters:

  • const chrono::ClockTime & clock_time

try_wait()#

SemaphoreObject & thread::SemaphoreObject::try_wait ()

Type: SemaphoreObject &

wait()#

SemaphoreObject & thread::SemaphoreObject::wait ()

Type: SemaphoreObject &

wait_timed(const chrono::ClockTime &clock_time)#

SemaphoreObject & thread::SemaphoreObject::wait_timed (const chrono::ClockTime &clock_time)

Type: SemaphoreObject &

Parameters:

  • const chrono::ClockTime & clock_time