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

Function DummyFree

benchmarks/tbb/cache_aligned_allocator.cpp:150–154  ·  view source on GitHub ↗

Executed on very first call through FreeHandler

Source from the content-addressed store, hash-verified

148
149//! Executed on very first call through FreeHandler
150static void DummyFree( void * ptr ) {
151 initialize_cache_aligned_allocator();
152 __TBB_ASSERT( FreeHandler!=&DummyFree, NULL );
153 (*FreeHandler)( ptr );
154}
155
156//! Executed on very first call through padded_allocate_handler
157static void* dummy_padded_allocate( size_t bytes, size_t alignment ) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected