All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Private Attributes
osl::misc::LightMutex Class Reference

#include <lightMutex.h>

List of all members.

Classes

class  unlockable_lock
 requirement: thread local More...

Public Types

typedef LightScopedLock
< LightMutex
scoped_lock

Public Member Functions

 LightMutex ()
bool tryLock ()
bool waitLock (int counter)
void lock ()
void unlock ()

Private Attributes

volatile int data

Detailed Description

Definition at line 48 of file lightMutex.h.


Member Typedef Documentation

Definition at line 51 of file lightMutex.h.


Constructor & Destructor Documentation

Definition at line 53 of file lightMutex.h.


Member Function Documentation

void osl::misc::LightMutex::lock ( ) [inline]

Definition at line 78 of file lightMutex.h.

References tryLock(), and waitLock().

Referenced by osl::misc::LightMutex::unlockable_lock::unlockable_lock().

bool osl::misc::LightMutex::tryLock ( ) [inline]

Definition at line 54 of file lightMutex.h.

References data.

Referenced by lock().

void osl::misc::LightMutex::unlock ( ) [inline]

Definition at line 87 of file lightMutex.h.

References data.

Referenced by osl::misc::LightMutex::unlockable_lock::unlock().

bool osl::misc::LightMutex::waitLock ( int  counter) [inline]

Definition at line 68 of file lightMutex.h.

References data.

Referenced by lock().


Member Data Documentation

volatile int osl::misc::LightMutex::data [private]

Definition at line 49 of file lightMutex.h.

Referenced by tryLock(), unlock(), and waitLock().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines