Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
leveldb::port::Mutex Class Reference

#include <port_example.h>

Public Member Functions

 Mutex ()
 
 ~Mutex ()
 
void Lock ()
 
void Unlock ()
 
void AssertHeld ()
 
 Mutex ()
 
 ~Mutex ()
 
void Lock ()
 
void Unlock ()
 
void AssertHeld ()
 
 Mutex ()
 
 ~Mutex ()
 
void Lock ()
 
void Unlock ()
 
void AssertHeld ()
 

Private Member Functions

 Mutex (const Mutex &)
 
void operator= (const Mutex &)
 
 Mutex (const Mutex &)
 
void operator= (const Mutex &)
 

Private Attributes

pthread_mutex_t mu_
 
void * cs_
 

Friends

class CondVar
 

Detailed Description

Definition at line 26 of file port_example.h.

Constructor & Destructor Documentation

leveldb::port::Mutex::Mutex ( )

Definition at line 22 of file port_posix.cc.

leveldb::port::Mutex::~Mutex ( )

Definition at line 24 of file port_posix.cc.

leveldb::port::Mutex::Mutex ( )
leveldb::port::Mutex::~Mutex ( )
leveldb::port::Mutex::Mutex ( const Mutex )
private
leveldb::port::Mutex::Mutex ( )
leveldb::port::Mutex::~Mutex ( )
leveldb::port::Mutex::Mutex ( const Mutex )
private

Member Function Documentation

void leveldb::port::Mutex::AssertHeld ( )

Definition at line 65 of file port_win.cc.

void leveldb::port::Mutex::AssertHeld ( )
void leveldb::port::Mutex::AssertHeld ( )
inline

Definition at line 96 of file port_posix.h.

void leveldb::port::Mutex::Lock ( )

Definition at line 26 of file port_posix.cc.

void leveldb::port::Mutex::Lock ( )
void leveldb::port::Mutex::Lock ( )
void leveldb::port::Mutex::operator= ( const Mutex )
private
void leveldb::port::Mutex::operator= ( const Mutex )
private
void leveldb::port::Mutex::Unlock ( )

Definition at line 28 of file port_posix.cc.

void leveldb::port::Mutex::Unlock ( )
void leveldb::port::Mutex::Unlock ( )

Friends And Related Function Documentation

CondVar
friend

Definition at line 99 of file port_posix.h.

Member Data Documentation

void* leveldb::port::Mutex::cs_
private

Definition at line 68 of file port_win.h.

pthread_mutex_t leveldb::port::Mutex::mu_
private

Definition at line 100 of file port_posix.h.


The documentation for this class was generated from the following files: