mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
Merge branch 'issue_532' into issue_532-3 with edits
This commit is contained in:
@@ -45,16 +45,13 @@ class Foundation_API Mutex: private MutexImpl
|
||||
/// A Mutex (mutual exclusion) is a synchronization
|
||||
/// mechanism used to control access to a shared resource
|
||||
/// in a concurrent (multithreaded) scenario.
|
||||
/// Mutexes are recursive, that is, the same mutex can be
|
||||
/// locked multiple times by the same thread (but, of course,
|
||||
/// not by other threads).
|
||||
/// Using the ScopedLock class is the preferred way to automatically
|
||||
/// lock and unlock a mutex.
|
||||
{
|
||||
public:
|
||||
typedef Poco::ScopedLock<Mutex> ScopedLock;
|
||||
|
||||
Mutex();
|
||||
explicit Mutex(bool recursive = true);
|
||||
/// creates the Mutex.
|
||||
|
||||
~Mutex();
|
||||
|
||||
Reference in New Issue
Block a user