mxnet
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
mxnet::common::ThreadLocalStore< T > Class Template Reference

A threadlocal store to store threadlocal variables. Will return a thread local singleton of type T. More...

#include <thread_local.h>

Collaboration diagram for mxnet::common::ThreadLocalStore< T >:
Collaboration graph

Static Public Member Functions

static T * Get ()
 

Detailed Description

template<typename T>
class mxnet::common::ThreadLocalStore< T >

A threadlocal store to store threadlocal variables. Will return a thread local singleton of type T.

Template Parameters
Tthe type we like to store

Member Function Documentation

template<typename T >
static T* mxnet::common::ThreadLocalStore< T >::Get ( )
inlinestatic
Returns
get a thread local singleton

The documentation for this class was generated from the following file: