
26 Sep
2011
26 Sep
'11
8:38 a.m.
I was unaware of this. My implementation does not rely on varags in makecontext().
ok - so your code requires a context-function of signature 'void f(void)'
Practically, it is possible to achieve the same flexibility by using setjmp()/longjmp() with minor effort.
Are you aware of the C99 standard which defines setjmp()/longjmp() to provide non-local jumps but does not require that longjmp() preserves the current stack frame, e. g. jumping into a function which was exited via a call to longjmp() is undefined? Oliver -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone