Mail Archives: djgpp-workers/1997/09/10/03:47:50
Bill Currie wrote:
> DMPI 1.0 has shared memory. It shouldn't be that difficult to detect
> 1.0 and do the appropriate thing. It also shouldn't cause too much
> bloat.
Well, DPMI 1.0 have shared memory. DPMI 0.9 let us pass descriptors...
It shouldn't be too difficult to handle both cases (shared memory isn't
just a single handle shared between multiple processes ?).
[single tb]
> I would have to agree with this, I think. I can't think off hand what
> sort of programs would have this problem, but I can imagine the
> possible situations.
Well, I think that every app (well, really, every library function) uses
tb just as temporary buffer. They should save tb contents before
exiting, since another library function destroys it. Eg, if I call
write() then read(), tb is overwritten. I think it's overwritten even if
I call exec() or spawn(). I don't see why the library should assume that
tb won't be changed by a call to exec() or spawn(). IMHO assuming it is
quite dangerous !
BYtE,
Diego.
- Raw text -