Mail Archives: djgpp/1998/07/19/05:29:02
On Fri, 17 Jul 1998, Steve Ball wrote:
> Josh Turpen, the author of the LWP multi-threading library, has suggested
> using an illegal instruction trap to recover. This sounds like a promising
> idea. Even better would be to use the threading library and just run the
> call in a separate thread. I'll be looking into this... I'm not sure if it
> will work with PMODE/DJ.
The second way will not work, since once you issue a call to a
real-mode interrupt function, threading stops until that call returns.
The first way will probably not work either, since in DJGPP it
generates a signal, and signals are only delivered when your program
is back in protected mode. At the most, it will crash your program.
- Raw text -