Treelite
Static Public Member Functions | List of all members
ThreadLocalStore< T > Class Template Reference

A thread-local storage. More...

#include <thread_local.h>

Static Public Member Functions

static T * Get ()
 

Detailed Description

template<typename T>
class treelite::ThreadLocalStore< T >

A thread-local storage.

Template Parameters
Tthe type we like to store

Definition at line 17 of file thread_local.h.

Member Function Documentation

◆ Get()

static T* Get ( )
inlinestatic
Returns
get a thread local singleton

Definition at line 20 of file thread_local.h.


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