mxnet
Static Public Member Functions | List of all members
dmlc::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 dmlc::ThreadLocalStore< T >:
Collaboration graph

Static Public Member Functions

static T * Get ()
 

Detailed Description

template<typename T>
class dmlc::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* dmlc::ThreadLocalStore< T >::Get ( )
inlinestatic
Returns
get a thread local singleton

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