Booleanize various sync primitives' wait & locking methods

This commit is contained in:
Pedro J. Estébanez
2023-01-27 11:04:41 +01:00
parent 9f74f0f6c5
commit f630940591
9 changed files with 20 additions and 23 deletions

View File

@ -361,7 +361,7 @@ class Mutex : public RefCounted {
public:
void lock();
Error try_lock();
bool try_lock();
void unlock();
};
@ -373,7 +373,7 @@ class Semaphore : public RefCounted {
public:
void wait();
Error try_wait();
bool try_wait();
void post();
};