MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / atomic_once

Function atomic_once

benchmarks/tbb/dynamic_link.cpp:227–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225
226#if __USE_TBB_ATOMICS
227 static void atomic_once ( void (*func) (void), tbb::atomic< tbb::internal::do_once_state > &once_state ) {
228 tbb::internal::atomic_do_once( func, once_state );
229 }
230#define ATOMIC_ONCE_DECL( var ) tbb::atomic< tbb::internal::do_once_state > var
231#else
232 static void atomic_once ( void (*func) (), pthread_once_t &once_state ) {

Callers 2

_static_init_dl_dataMethod · 0.85
abs_pathFunction · 0.85

Calls 1

atomic_do_onceFunction · 0.85

Tested by

no test coverage detected