Mail Archives: djgpp/1998/06/09/12:10:16
On Tue, 9 Jun 1998, HANRIGOU wrote:
> Does it really give CPU control to other programs?
My testing indicates that it does. If you have any means to show CPU
usage, please look at it and tell the results with the new variant of
__dpmi_yield.
> How does __dpmi_int works? What happens after running a child
> process (as opposed to previous __dpmi_yield definition)?
As far as I could see, everything works with the new version. The old
version issued the INT 2Fh instruction directly, whereas the new one does
this via the DPMI server. It seems like some versions of Windows have
subtle bugs in servicing the first call, but not the second, when nested
DPMI clients are involved. (If you know a bit about the via delorosa
which each Int instruction goes through the various so-called ``thunking''
levels before it winds up in the module which actually services it, you
won't be surprised.)
- Raw text -