Mail Archives: djgpp-workers/1996/03/11/13:52:53
>
> Another tidbit - when I printed out the characters from "getchar" they were
> the first two from the message sent out via printf, so it's definitely a
> transfer buffer contention issue.
>
I recompiled the threads library w/o the time slicing option and things started
to work better. I probably should have done this to begin with, instead of
using the configuration as is.
In order to get the more sophisticated scheduling to work, signal handling
and itimers need to be made reentrant (according to some comments in the
threads code, they're not) as well as having some "safe" I/O routines.
There is, reportedly, an undocumented DOS call that will save and restore
state there, I have it in another threads package but haven;t tested it.
- Raw text -