2005/5/9

     
 

class core_fastmutex

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::core_fastmutex Class Reference

#include <core_fastmutex.h>

Inheritance diagram for acdk::lang::sys::core_fastmutex:

acdk::lang::sys::HeapLockMutex List of all members.

Detailed Description

This mutex is a simple fast mutex to protect static code.


Public Member Functions

pthread_mutex_t & mutex ()
 core_fastmutex ()
 ~core_fastmutex ()
void lock ()
void unlock ()
bool try_lock ()

Public Attributes

pthread_mutex_t _mutex
pthread_t _threadOwner


Constructor & Destructor Documentation

acdk::lang::sys::core_fastmutex::core_fastmutex  ) 
 

acdk::lang::sys::core_fastmutex::~core_fastmutex  ) 
 


Member Function Documentation

void acdk::lang::sys::core_fastmutex::lock  ) 
 

Reimplemented in acdk::lang::sys::HeapLockMutex.

pthread_mutex_t& acdk::lang::sys::core_fastmutex::mutex  )  [inline]
 

bool acdk::lang::sys::core_fastmutex::try_lock  ) 
 

void acdk::lang::sys::core_fastmutex::unlock  ) 
 

Reimplemented in acdk::lang::sys::HeapLockMutex.


Member Data Documentation

pthread_mutex_t acdk::lang::sys::core_fastmutex::_mutex
 

pthread_t acdk::lang::sys::core_fastmutex::_threadOwner