minicoro
minicoro copied to clipboard
Single header stackful cross-platform coroutine library in pure C.
Spotted a pretty mild bug related to red zones. The current code shouldn't cause any bugs. It just wastes a few bytes of stack space. https://github.com/edubart/minicoro/blob/main/minicoro.h#L742 You subtract the 128...
Hi there, Have been experimenting with minicoro for a few hours, with a mixture of successes and failures. (I suspect smart pointers are likely to have some issues.) I built...
Would it be feasible to use a memory page with `PROT_NONE` at both the top and bottom of a coroutine stack to catch overflows immediately instead of after the fact...
The `coro_timing.c` is comparing sub functions calls to coroutine calls. This **mco_resume** is much slower, library needs optimizing, test converted from https://github.com/higan-emu/libco/blob/master/doc/examples/test_timing.cpp minicoro: ``` context-switching timing test 1.366 seconds per...
Hi. Congrats for the great project. Any chance to port the code for ARM Cortex-Mx microcontrollers? Coroutines are a great approach for systems with low RAM memory. Thanks.