3 ms·
Somewhere in that library is code to yield()... and all I see is a forest of .hpp files (which I assume are the equivalent of .h files for c++) Where does it a
by mikewarot 4y ago
Somewhere in that library is code to yield()... and all I see is a forest of .hpp files (which I assume are the equivalent of .h files for c++)
Where does it actually get implemented?
- usrnm 4y agoIt internally uses ucontext via Boost
- mikewarot 4y agoThank you for explaining that to me. I suspected it was something else and was trying to find the code that saved state and forked in C++ userland. I once did cooperative multi-tasking, which I thought this library did as well, in the 1980s in Turbo Pascal under MS-DOS, and wondered how things have changed.