|
OCILIB (C and C++ Driver for Oracle)
4.0.0
|
Static class allowing to set/get thread local storage (TLS) values for a given unique key. More...
#include <ocilib.hpp>
Static Public Member Functions | |
| static void | Create (const ostring &name, ThreadKeyFreeProc freeProc=0) |
| Create a thread key object. More... | |
| static void | SetValue (const ostring &name, AnyPointer value) |
| Set a thread key value. More... | |
| static AnyPointer | GetValue (const ostring &name) |
| Get a thread key value. More... | |
Static class allowing to set/get thread local storage (TLS) values for a given unique key.
This class wraps the OCILIB object handle OCI_ThreadKey and its related methods
Definition at line 1181 of file ocilib.hpp.
|
inlinestatic |
Create a thread key object.
Definition at line 928 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ThreadKeyCreate().
|
inlinestatic |
Set a thread key value.
| name | - Thread key name |
| value | - user value to set |
Definition at line 933 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ThreadKeySetValue().
|
inlinestatic |
Get a thread key value.
| name | - Thread key name |
Definition at line 938 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ThreadKeyGetValue().