Stack Resize must before any context instance start
| 128 | |
| 129 | // Stack Resize must before any context instance start |
| 130 | void resize_stack(std::size_t size) |
| 131 | { |
| 132 | stack_size = size; |
| 133 | stack.resize(size); |
| 134 | fiber_stack.resize(child_stack_size()); |
| 135 | #ifdef CS_DEBUGGER |
| 136 | stack_backtrace.resize(size); |
| 137 | #endif |
| 138 | } |
| 139 | |
| 140 | inline std::size_t child_stack_size() const |
| 141 | { |
no test coverage detected