OCILIB (C and C++ Driver for Oracle)
4.7.5
Open source and cross platform Oracle Driver delivering efficient access to Oracle databases.
|
Static class allowing managing mutexes. More...
#include <types.hpp>
Static Public Member Functions | |
static MutexHandle | Create () |
Create a Mutex handle. | |
static void | Destroy (MutexHandle handle) |
Destroy a mutex handle. | |
static void | Acquire (MutexHandle handle) |
Acquire a mutex lock. | |
static void | Release (MutexHandle handle) |
Release a mutex lock. | |
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
|
inlinestatic |
Create a Mutex handle.
Definition at line 28 of file Mutex.hpp.
References ocilib::core::Check(), and OCI_MutexCreate().
|
inlinestatic |
Destroy a mutex handle.
handle | - Mutex handle |
Definition at line 33 of file Mutex.hpp.
References ocilib::core::Check(), and OCI_MutexFree().
|
inlinestatic |
Acquire a mutex lock.
handle | - Mutex handle |
Definition at line 38 of file Mutex.hpp.
References ocilib::core::Check(), and OCI_MutexAcquire().
|
inlinestatic |
Release a mutex lock.
handle | - Mutex handle |
Definition at line 43 of file Mutex.hpp.
References ocilib::core::Check(), and OCI_MutexRelease().