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

Function init_dl_data

benchmarks/tbb/dynamic_link.cpp:331–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329 }
330
331 static void init_dl_data() {
332 init_ap_data();
333 #if !__USE_TBB_ATOMICS
334 int res;
335 res = pthread_spin_init( &handles.my_lock, PTHREAD_PROCESS_SHARED );
336 LIBRARY_ASSERT( res==0, "pthread_spin_init failed" );
337 #endif
338 }
339
340 // ap_data structure is initialized with current directory on Linux.
341 // So it should be initialized as soon as possible since the current directory may be changed.

Callers

nothing calls this directly

Calls 1

init_ap_dataFunction · 0.85

Tested by

no test coverage detected