[<<][packetforth][>>][..]
Tue Oct 31 12:51:12 EST 2006

parser and pre-emption

if i'm to take this threadless design seriously, i need to get rid of
blocking parser. maybe i should take advantage of the pf_vm_idle()
function that's used everywhere?

what about cooperative threads in C? is there a safe way to switch
tasks to different stacks?

what about converting all the functions to forth words as a first step
to have both an extensible parser and a pre-emptable one? that would
be rather intrusive and probably have annoying bootstrap problems
too.. i have one that works atm, and is relatively fast. making it
pre-emptable would be a nice exercise to do the same with other code
written in C.

so, conclusion: i need a way to switch the C stack.





[Reply][About]
[<<][packetforth][>>][..]