Mail Archives: djgpp/1996/07/24/19:30:35
A couple of comments to reemphasize what I saw in a few other messages:
1) Because of the way DJGPP handles HW signals, you don't have to worry
about DOS reentrancy (so no need to mess with InDos), and
2) The libc needs a substantial re-write to be multitasking/reentrant.
Essentialy any part of the library which contains or references static
and/or global variables needs some attention.
Since most functions don't need 16K of transfer buffer, there probably
needs to be the equivalent of "tbmalloc()/tbfree()" for some functions,
and in some cases a "don't interrupt me or you'll be sorry flag".
But if you are going to go to this trouble, you can also have most of
the libc functions cooperatively yield as needed too. I decided it
was just easier to move to a real operating system, however :-)
Gee, next thing someone will want is the PM boot loader :-)
- Raw text -