MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / Singleton

Method Singleton

include/dmlc/thread_local.h:64–67  ·  view source on GitHub ↗

! \return singleton of the store */

Source from the content-addressed store, hash-verified

62 }
63 /*! \return singleton of the store */
64 static ThreadLocalStore<T> *Singleton() {
65 static ThreadLocalStore<T> inst;
66 return &inst;
67 }
68 /*!
69 * \brief register str for internal deletion
70 * \param str the string pointer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected