MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Mutex Class Reference

#include <Mutex.hpp>

Public Member Functions

 Mutex (Signal *, SimulatedBlock::MutexManager &mgr, MutexHandle &)
template<Uint32 MutexId>
 Mutex (Signal *, SimulatedBlock::MutexManager &mgr, MutexHandle2< MutexId > &)
void release ()
bool isNull () const
bool lock (SimulatedBlock::Callback &callback, bool exclusive=true, bool notify=false)
bool trylock (SimulatedBlock::Callback &callback, bool exclusive=true)
void unlock (SimulatedBlock::Callback &callback)
void unlock ()
bool create (SimulatedBlock::Callback &callback)
bool destroy (SimulatedBlock::Callback &callback)

Static Public Member Functions

static void release (SimulatedBlock::MutexManager &, Uint32 activePtrI, Uint32 mutexId)

Detailed Description

A mutex - Used together with a MutexHandle to be put on the stack

Definition at line 68 of file Mutex.hpp.


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