Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Commit

Permalink
[#135] changed semaphore try_wait() API
Browse files Browse the repository at this point in the history
  • Loading branch information
velichechka committed Oct 5, 2016
1 parent 841deaf commit fdae7b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/thread/posix/export/ecl/thread/semaphore.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class semaphore

void signal();
void wait();
ecl::err try_wait();
bool try_wait();

semaphore(const semaphore&) = delete;
semaphore& operator=(const semaphore&) = delete;
Expand All @@ -37,7 +37,7 @@ class binary_semaphore

void signal();
void wait();
ecl::err try_wait();
bool try_wait();

binary_semaphore(const binary_semaphore&) = delete;
binary_semaphore& operator=(const binary_semaphore&) = delete;
Expand Down

0 comments on commit fdae7b7

Please sign in to comment.