MCPcopy Create free account
hub / github.com/boostorg/filesystem / init_readdir_impl

Function init_readdir_impl

src/directory.cpp:369–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367readdir_impl_t* readdir_impl_ptr = &readdir_select_impl;
368
369void init_readdir_impl()
370{
371 readdir_impl_t* impl = &readdir_impl;
372 if (::sysconf(_SC_THREAD_SAFE_FUNCTIONS) >= 0)
373 impl = &readdir_r_impl;
374
375 filesystem::detail::atomic_store_relaxed(readdir_impl_ptr, impl);
376}
377
378struct readdir_initializer
379{

Callers 3

readdir_initializerMethod · 0.85
readdir_select_implFunction · 0.85
dir_itr_createFunction · 0.85

Calls 1

atomic_store_relaxedFunction · 0.85

Tested by

no test coverage detected