| OCILIB (C and C++ Driver for Oracle)
    4.6.3
    | 
Static class allowing to set/get thread local storage (TLS) values for a given unique key. More...
#include <ocilib.hpp>
| Public Types | |
| typedef POCI_THREADKEYDEST | ThreadKeyFreeProc | 
| Thread Key callback for freeing resources. | |
| Static Public Member Functions | |
| static void | Create (const ostring &name, ThreadKeyFreeProc freeProc=nullptr) | 
| 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 1458 of file ocilib.hpp.
| 
 | inlinestatic | 
Create a thread key object.
Definition at line 1362 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 1367 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ThreadKeySetValue().
| 
 | inlinestatic | 
Get a thread key value.
| name | - Thread key name | 
Definition at line 1372 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ThreadKeyGetValue().