|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CFairMutex Class ReferenceKind of "fair" mutex.
More...
#include <mutex.h>
List of all members.
Detailed Description
Kind of "fair" mutex.
Windows: uses Critical Section, cannot be shared among processes Linux: uses PThread (POSIX) semaphore, cannot be shared among processes
CUnfairMutex m;
m.enter ();
m.leave ();
*
-
Author:
-
Olivier Cado , Nevrax France
-
Date:
-
2000
-
Author:
-
Olivier Cado , Nevrax France
-
Date:
-
2001
Definition at line 290 of file mutex.h.
Constructor & Destructor Documentation
NLMISC::CFairMutex::CFairMutex |
( |
|
) |
|
|
NLMISC::CFairMutex::CFairMutex |
( |
const std::string & |
name |
) |
|
|
NLMISC::CFairMutex::~CFairMutex |
( |
|
) |
|
|
Member Function Documentation
void NLMISC::CFairMutex::enter |
( |
|
) |
|
|
void NLMISC::CFairMutex::leave |
( |
|
) |
|
|
Member Data Documentation
std::string NLMISC::CFairMutex::Name
|
|
The documentation for this class was generated from the following file:
|
|