mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
Replaced boolean with enum in c'tor.
Implemented in a similar style to FPEnvironment.
This commit is contained in:
@@ -49,12 +49,12 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
{
|
||||
Poco::Mutex mtx(true);
|
||||
Poco::Mutex mtx(Poco::Mutex::MUTEX_RECURSIVE);
|
||||
Benchmark(mtx, "Mutex(true)");
|
||||
}
|
||||
|
||||
{
|
||||
Poco::Mutex mtx(false);
|
||||
Poco::Mutex mtx(Poco::Mutex::MUTEX_NONRECURSIVE);
|
||||
Benchmark(mtx, "Mutex(false)");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user