Changeset 126 in flair-src for trunk/lib/FlairCore/src/Semaphore.cpp


Ignore:
Timestamp:
Jan 17, 2017, 10:47:02 AM (8 years ago)
Author:
Thomas Fuhrmann
Message:

Add timed semaphore and bool return

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/Semaphore.cpp

    r118 r126  
    3131Semaphore::~Semaphore() { delete pimpl_; }
    3232
    33 void Semaphore::GetSemaphore(void) const { pimpl_->GetSemaphore(); }
     33bool Semaphore::GetSemaphore(Time timeout) const { return pimpl_->GetSemaphore(timeout); }
    3434
    35 void Semaphore::ReleaseSemaphore(void) const { pimpl_->ReleaseSemaphore(); }
     35bool Semaphore::ReleaseSemaphore(void) const { return pimpl_->ReleaseSemaphore(); }
    3636
    3737} // end namespace core
Note: See TracChangeset for help on using the changeset viewer.