Re:Your code should be taken out back, lined up against a wa...
by tptacek on Tuesday July 27, 2010 @05:05PM
(#1552725)
While setjmp/longjmp is a good trick (it's how Hanson did his thread library in CII), it's actually an even less good approach by the standards of this mailing list; there are even fewer constraints on how Cygwin needs to implement longjmp than there are on how it manages %%esp.
[ Parent
| on HN ]
Re:Your code should be taken out back, lined up against a wa...
by jsn on Tuesday July 27, 2010 @05:40PM
(#1552830)
What are the problems with setjmp/longjmp? (a honest question; I've drafted a proof-of-concept implementation of C coroutines yesterday, just to see how long it will take me to get it working -- http://gist.github.com/491302).