mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
Replaced boolean with enum in c'tor.
Implemented in a similar style to FPEnvironment.
This commit is contained in:
@@ -31,8 +31,15 @@ namespace Poco {
|
||||
|
||||
class Foundation_API MutexImpl
|
||||
{
|
||||
public:
|
||||
enum MutexTypeImpl
|
||||
{
|
||||
MUTEX_RECURSIVE_IMPL,
|
||||
MUTEX_NONRECURSIVE_IMPL,
|
||||
};
|
||||
|
||||
protected:
|
||||
MutexImpl(bool recursive);
|
||||
explicit MutexImpl(MutexTypeImpl type);
|
||||
~MutexImpl();
|
||||
void lockImpl();
|
||||
bool tryLockImpl();
|
||||
|
||||
Reference in New Issue
Block a user