| 139 | struct 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 |
nothing calls this directly
no test coverage detected