MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / push

Method push

src/core/impl/utils/thread.cpp:262–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260/* =============== ThreadLocalForceFree =============== */
261#if (defined(__ANDROID__) || defined(__OHOS__)) && !USE_STL_THREAD_LOCAL
262void ThreadLocalForceFree::push(void* d) {
263 MGB_LOCK_GUARD(m_mutex);
264 td.push_back(d);
265}
266
267//! make ff init as soon as possible
268static ThreadLocalForceFree ff;

Callers 7

regenerateMethod · 0.45
process_one_taskMethod · 0.45
getMethod · 0.45
workMethod · 0.45
add_socketMethod · 0.45
force_pruneMethod · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected