neoGFX
Cross-platform C++ app/game engine
|
Shared thread local service. More...
#include <i_shared_thread_local.hpp>
Classes | |
struct | result_type |
Public Member Functions | |
virtual result_type | allocate_or_get (char const *aFullyQualifiedVariableName, std::size_t aVariableSize, void(*aDeleter)(void *))=0 |
template<typename T > | |
result_type | allocate_or_get (char const *aFullyQualifiedVariableName, void(*aDeleter)(void *)) |
Public Member Functions inherited from neolib::services::i_service | |
virtual | ~i_service ()=default |
Static Public Member Functions | |
static uuid const & | iid () |
Shared thread local service.
This service is a way to share thread local variables between an application and multiple DLLs that all statically link against the same library that contains the thread local variable.
To use this service should be exposed to the DLLs from the application. TODO: HOWTO documentation.
Definition at line 51 of file i_shared_thread_local.hpp.
|
pure virtual |
Implemented in neolib::shared_thread_local.
|
inline |
Definition at line 63 of file i_shared_thread_local.hpp.
Definition at line 68 of file i_shared_thread_local.hpp.