Mail Archives: djgpp/1999/04/21/18:25:22
Hi!
I asked a similar Q a couple of
weeks ago, but I got some problems with
my internetconnection, and when I came back,
there were only one answer left, with not so
mych info in it.
I asked how to do a sort of multithreading
(inside one program) without discoperations,
could be done with an interrupt that switches
(and saves) current program pointers, no?
Like, an interrupt that points to a "scheduler"
that every time hooked up, saves the old program pointer
and loads the next one...
I guess that discoperations would blow things, and keyboard
funcs too, but maybe special open,close,readkey functions
could lock the multithreading(as in W95?)?
Can this be easily done? And does someone have a small codesnippet
that could help me?
Very pleased to get some help:)
Ludvig Larsson
- Raw text -