VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc::threads::semaphore Class Reference

#include <vlc_cxx_helpers.hpp>

Public Member Functions

 semaphore () noexcept
 
 semaphore (unsigned int count) noexcept
 
 ~semaphore ()
 
 semaphore (const semaphore &)=delete
 
semaphoreoperator= (const semaphore &)=delete
 
 semaphore (semaphore &&)=delete
 
semaphoreoperator= (semaphore &&)=delete
 
int post () noexcept
 
void wait () noexcept
 
int wait_i11e () noexcept
 

Constructor & Destructor Documentation

◆ semaphore() [1/4]

vlc::threads::semaphore::semaphore ( )
inlinenoexcept

References vlc_sem_init().

◆ semaphore() [2/4]

vlc::threads::semaphore::semaphore ( unsigned int  count)
inlinenoexcept

References count, and vlc_sem_init().

◆ ~semaphore()

vlc::threads::semaphore::~semaphore ( )
inline

◆ semaphore() [3/4]

vlc::threads::semaphore::semaphore ( const semaphore )
delete

◆ semaphore() [4/4]

vlc::threads::semaphore::semaphore ( semaphore &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

semaphore & vlc::threads::semaphore::operator= ( const semaphore )
delete

◆ operator=() [2/2]

semaphore & vlc::threads::semaphore::operator= ( semaphore &&  )
delete

◆ post()

int vlc::threads::semaphore::post ( )
inlinenoexcept

References vlc_sem_post().

◆ wait()

void vlc::threads::semaphore::wait ( )
inlinenoexcept

References vlc_sem_wait().

◆ wait_i11e()

int vlc::threads::semaphore::wait_i11e ( )
inlinenoexcept

References vlc_sem_wait_i11e().


The documentation for this class was generated from the following file: