Mail Archives: djgpp/1999/02/20/17:19:41
At 01:26 AM 2/20/99 +0000, you wrote:
>"expr" and "true" are not internal commands on my setup, according to the
>bash command "type". Which means I was able to do over 90000 launches of
>DJGPP programs from one shell before I killed it for a reason unrelated to
>anything important.
>
>But in case they are an imperfect test for other reasons, I've downloaded
>Andris Pavenis' program posted yesterday and will compile and try that
>soon.
Another double-post...
Anyways, from these data I would speculate that a single program getting
descriptors and freeing them doesn't free them back to the operating system
and leaks them internally (not reusing them), but that it does free the
leaked descriptors on exit. This explains the apparent descriptor leak
inside one program but not on repeated invocations of programs over 90000
times. (I would assume there are at most 65536 descriptors available...the
designers of Windoze would probably not have envisioned ever needing more
than that many.)
--
.*. "Clouds are not spheres, mountains are not cones, coastlines are not
-() < circles, and bark is not smooth, nor does lightning travel in a
`*' straight line." -------------------------------------------------
-- B. Mandelbrot |http://surf.to/pgd.net
_____________________ ____|________ Paul Derbyshire pderbysh AT usa DOT net
Programmer & Humanist|ICQ: 10423848|
- Raw text -