Mutex.h File Reference


Detailed Description

From the Poco C++ Libraries; used for ES40 for OpenVMS only, as Poco has dropped OpenVMS support.

Id
Mutex.h,v 1.1 2008/03/31 19:13:31 iamcamiel Exp

X-1.1 Camiel Vanderhoeven 31-MAR-2008 Adapted for use by the ES40 Emulator.

Definition in file Mutex.h.

#include "VMS/Foundation.h"
#include "VMS/Exception.h"
#include "VMS/ScopedLock.h"
#include "VMS/Mutex_POSIX.h"

Go to the source code of this file.

Namespaces

namespace  Poco

Data Structures

class  Poco::Mutex
 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. More...
class  Poco::FastMutex
 A FastMutex (mutual exclusion) is similar to a Mutex. Unlike a Mutex, however, a FastMutex is not recursive, which means that a deadlock will occur if the same thread tries to lock a mutex it has already locked again. Locking a FastMutex is faster than locking a recursive Mutex. Using the ScopedLock class is the preferred way to automatically lock and unlock a mutex. More...


SourceForge.net Logo
Project space on SourceForge.net