Message-Id: <3.0.6.32.19990220171800.00875690@pop.globalserve.net> X-Sender: derbyshire AT pop DOT globalserve DOT net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Sat, 20 Feb 1999 17:18:00 -0500 To: djgpp AT delorie DOT com From: Paul Derbyshire Subject: Re: Does Windows 98 lose DMPI descriptors? In-Reply-To: References: <7ahrpv$ag0$1 AT news DOT luth DOT se> <7ahrpv$ag0$1 AT news DOT luth DOT se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com 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|