|
MySQL 5.6.14 Source Code Document
|
#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) |
A mutex - Used together with a MutexHandle to be put on the stack