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

Function DummyMalloc

benchmarks/tbb/cache_aligned_allocator.cpp:143–147  ·  view source on GitHub ↗

Executed on very first call through MallocHandler

Source from the content-addressed store, hash-verified

141
142//! Executed on very first call through MallocHandler
143static void* DummyMalloc( size_t size ) {
144 initialize_cache_aligned_allocator();
145 __TBB_ASSERT( MallocHandler!=&DummyMalloc, NULL );
146 return (*MallocHandler)( size );
147}
148
149//! Executed on very first call through FreeHandler
150static void DummyFree( void * ptr ) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected