MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / use_pooled_stack_allocator

Function use_pooled_stack_allocator

thread/stack-allocator.h:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 Delegate<void, void*, size_t> photon_thread_dealloc = {
45 &default_photon_thread_stack_dealloc, nullptr});
46inline void use_pooled_stack_allocator() {
47 set_photon_thread_stack_allocator({&pooled_stack_alloc, nullptr},
48 {&pooled_stack_dealloc, nullptr});
49}
50} // namespace photon

Callers 3

__photon_initFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls 1

Tested by 1

mainFunction · 0.40