Medial Code Documentation
Loading...
Searching...
No Matches
Static Public Member Functions
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>

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

◆ Get()

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: