MCPcopy Create free account
hub / github.com/crossuo/crossuo / RPMallocInit

Method RPMallocInit

external/tracy/client/TracyProfiler.cpp:141–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139struct RPMallocInit
140{
141 RPMallocInit()
142 {
143# if ( defined _WIN32 || defined __CYGWIN__ ) && _WIN32_WINNT >= _WIN32_WINNT_VISTA
144 InitOnceExecuteOnce( &InitOnce, InitOnceCallback, nullptr, nullptr );
145# elif defined __linux__
146 pthread_once( &once_control, InitOnceCallback );
147# else
148 std::call_once( once_flag, InitOnceCallback );
149# endif
150 rpmalloc_thread_initialize();
151 }
152};
153
154#ifndef TRACY_DELAYED_INIT

Callers

nothing calls this directly

Calls 2

pthread_onceFunction · 0.50

Tested by

no test coverage detected