Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Mon, 4 Nov 2002 21:47:38 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: Newest cygwin snapshot has /proc//cmdline Message-ID: <20021105024738.GA8700@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <20021104011443 DOT GA23442 AT redhat DOT com> <000c01c28451$0ca73fa0$0201a8c0 AT sos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000c01c28451$0ca73fa0$0201a8c0@sos> User-Agent: Mutt/1.5.1i On Mon, Nov 04, 2002 at 05:25:13PM -0500, Sergey Okhapkin wrote: >Try to start "nice make" in one console and "top" in another one. Everything >freezes and "top" consumes all the CPU time:-( I think the problem is in the >following loop in _pinfo::commune_send(): > > > while ((isalive = alive ())) > if (myself->hello_pid <= 0) > break; > else > Sleep (0); > >Changing Sleep(0) to Sleep(10) helps a little bit, but that's not a >solution... No it's not a solution. And, as surprising as it may sound, I can't duplicate this. I.e., "works fine for me". Are you saying that you actually caught a process in this loop or is this sheer speculation? cgf