OCILIB (C and C++ Driver for Oracle)
4.4.0
|
Static class allowing managing mutexes. More...
#include <ocilib.hpp>
Static Public Member Functions | |
static MutexHandle | Create () |
Create a Mutex handle. More... | |
static void | Destroy (MutexHandle handle) |
Destroy a mutex handle. More... | |
static void | Acquire (MutexHandle handle) |
Acquire a mutex lock. More... | |
static void | Release (MutexHandle handle) |
Release a mutex lock. More... | |
Static class allowing managing mutexes.
This class wraps the OCILIB object handle OCI_Mutex and its related methods
See Threads and mutexes for more details on Oracle multi-threading support
Definition at line 1329 of file ocilib.hpp.
|
inlinestatic |
Create a Mutex handle.
Definition at line 1240 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MutexCreate().
Referenced by ocilib::MakeRaw().
|
inlinestatic |
Destroy a mutex handle.
handle | - Mutex handle |
Definition at line 1245 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MutexFree().
Referenced by ocilib::MakeRaw().
|
inlinestatic |
Acquire a mutex lock.
handle | - Mutex handle |
Definition at line 1250 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MutexAcquire().
Referenced by ocilib::MakeRaw().
|
inlinestatic |
Release a mutex lock.
handle | - Mutex handle |
Definition at line 1255 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_MutexRelease().
Referenced by ocilib::MakeRaw().