3 ms·
nPth can use swapcontext if everything else fails, but its preferred portable switching strategy is the so called sigaltstack trick witch is usually significant
by gpderetta 11y ago
nPth can use swapcontext if everything else fails, but its preferred portable switching strategy is the so called sigaltstack trick witch is usually significantly faster.
BTW, I'm the author of the above page. Coroutine libraries have been my personal hobby since forever.
- srean 11y agoIn that case you might enjoy taking a look at http://felix-lang.org/ http://felix-lang.org/ http://felix-lang.org/$/usr/local/lib/felix/felix-2016.01.04-rc2/share/src/web//tut/fibres_index.fdoc http://felix-lang.org/$/usr/local/lib/felix/felix-2016.01.04... I am not involved in its development.