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

Function set_photon_thread_stack_allocator

thread/thread.cpp:2162–2167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2160 }
2161
2162 void set_photon_thread_stack_allocator(
2163 Delegate<void *, size_t> _photon_thread_alloc,
2164 Delegate<void, void *, size_t> _photon_thread_dealloc) {
2165 photon_thread_alloc = _photon_thread_alloc;
2166 photon_thread_dealloc = _photon_thread_dealloc;
2167 }
2168
2169 extern "C" {
2170 [[gnu::used]]

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected