… | |
… | |
267 | possible. Any Coro::State that starts to use a stack after this call is |
267 | possible. Any Coro::State that starts to use a stack after this call is |
268 | guaranteed this minimum stack size. Please note that Coroutines will |
268 | guaranteed this minimum stack size. Please note that Coroutines will |
269 | only need to use a C-level stack if the interpreter recurses or calls a |
269 | only need to use a C-level stack if the interpreter recurses or calls a |
270 | function in a module that calls back into the interpreter. |
270 | function in a module that calls back into the interpreter. |
271 | |
271 | |
|
|
272 | =item Coro::State::force_cctx |
|
|
273 | |
|
|
274 | Forces the allocation of a C context for the currently running coroutine |
|
|
275 | (if not already done). Apart from benchmarking there is little point |
|
|
276 | in doing so, however. |
|
|
277 | |
272 | =item @states = Coro::State::list |
278 | =item @states = Coro::State::list |
273 | |
279 | |
274 | Returns a list of all states currently allocated. |
280 | Returns a list of all states currently allocated. |
275 | |
281 | |
276 | =cut |
282 | =cut |