MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / configure_pool

Method configure_pool

dds/DCPS/SafetyProfilePool.cpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void
28SafetyProfilePool::configure_pool(size_t size, size_t granularity)
29{
30 ACE_GUARD(ACE_Thread_Mutex, lock, lock_);
31
32 if (main_pool_ == NULL) {
33 main_pool_ = new MemoryPool(size, granularity);
34 }
35}
36
37void
38SafetyProfilePool::install()

Callers 3

InitializeFunction · 0.45
test_mallocFunction · 0.45
test_mallocsFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_mallocFunction · 0.36
test_mallocsFunction · 0.36