Mail Archives: djgpp-workers/1998/03/19/03:07:02
Hi workers,
I want you to know that I have a modified version of getpid() than works
100% reliable on Win3.1enh, Win95, and non-multitasking flavors of DOS.
I followed the suggestion of B.C. It's a 32-bit value and includes the
VM ID and real mode PSP-segment.
I think I could also make it 100% reliable on Win2.0 + 386 (enfin,
Windows in standard mode), but it needs some (a small fragment of) code
run in real-mode (it's difficult to do otherwise). Could this code
become part of the stub? }:-| Since a PID normally gets assigned by a
decent OS, it seems the closest way to emulate that.
Or do we forget about non-enhanced flavors of Win?
Also: I don't know for sure whether it will work perfectly reliable on
NT or OS/2, so somebody should try to find that out.
I'll send the patch shortly, followed by a better set of temporary file
name creation functions.
--
\ Vik /-_-_-_-_-_-_/
\___/ Heyndrickx /
\ /-_-_-_-_-_-_/
- Raw text -