Mail Archives: djgpp/1998/12/17/10:16:41
On Thu, 17 Dec 1998, Shawn Hargreaves wrote:
> I think you can do it by using the signal handling mechanism to defer
> the event into a protected mode exception, and then using setjmp() /
> longjmp().
True, but the original poster wanted to use task-switching to emulate
things like fork(), and that's not possible with signals, since once you
spawn another pogram, you are parked inside a real-mode DOS call, and all
signals are effectively disabled until the child program exits.
- Raw text -