From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNLMISC_1_1CFairMutex.html | 292 ++++++++++++++++++++++++ 1 file changed, 292 insertions(+) create mode 100644 docs/doxygen/nel/classNLMISC_1_1CFairMutex.html (limited to 'docs/doxygen/nel/classNLMISC_1_1CFairMutex.html') diff --git a/docs/doxygen/nel/classNLMISC_1_1CFairMutex.html b/docs/doxygen/nel/classNLMISC_1_1CFairMutex.html new file mode 100644 index 00000000..66fd07d4 --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1CFairMutex.html @@ -0,0 +1,292 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
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 Reference

Kind of "fair" mutex. +More... +

+#include <mutex.h> +

+List of all members. + + + + + + + + + + +

Public Methods

 CFairMutex ()
 Constructor. More...

 CFairMutex (const std::string &name)
 ~CFairMutex ()
 Destructor. More...

void enter ()
void leave ()

Public Attributes

std::string Name
+


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 ();
+ // do critical stuffs
+ m.leave ();
+ *
+
+Author:
+Olivier Cado , Nevrax France
+Date:
+2000
 CFairMutex m;
+ m.enter ();
+ // do critical stuffs
+ m.leave ();
+ *
+
+Author:
+Olivier Cado , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 290 of file mutex.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLMISC::CFairMutex::CFairMutex  
+
+ + + + + +
+   + + +

+Constructor. +

+

+

+ + + + +
+ + + + + + + + + + +
NLMISC::CFairMutex::CFairMutex const std::string &   name
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
NLMISC::CFairMutex::~CFairMutex  
+
+ + + + + +
+   + + +

+Destructor. +

+

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void NLMISC::CFairMutex::enter  
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void NLMISC::CFairMutex::leave  
+
+ + + + + +
+   + + +

+

+


Member Data Documentation

+

+ + + + +
+ + +
std::string NLMISC::CFairMutex::Name +
+
+ + + + + +
+   + + +

+ +

+Definition at line 305 of file mutex.h.

+


The documentation for this class was generated from the following file: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1