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