Date: Sun, 20 Dec 1998 13:02:25 -0500 (EST) From: Agent Drek Sender: drek AT bunny To: djgpp AT delorie DOT com Subject: Re: cpu eater In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sun, 20 Dec 1998, Eli Zaretskii wrote: |Is it possible you are using some version of `sleep' other than the one |from the library? nope. (1) some other process is eating the CPU |cycles on your system; no, there are not. I always have to make sure what exactly my systems are doing. (which is IMHO very hard to do on NT with the toolset Microsoft ships) (2) there's something in how your system is set |up that is different from the one I tested that on. In any case, this is |not the problem with the program, but with your system, or so it seems. this is possible. but...what could be setup different that would effect reported CPU usage in that way? Everything else runs correctly. alas, all of my experience is unix and i've never run into this problem before so I will continue trying. |> are there options I could pass to gcc? | |GCC options cannot usually affect CPU usage by a program. For the |record: I compiled with "gcc -Wall -g -O" (the last one is the capital |letter O, not a zero). | just making sure. |> (maybe it's because some debugging stuff is going on?) | |What debugging stuff? dunno. (not using RHIDE...just VIM) | |> I am just confused because the same code works great on my SGI. | |It also works great on my NT and on Windows 9X as well. | I will try a different NT box. thanks again. =derek Monster By Mistake Inc > mailto:drek AT monsterbymistake DOT com (416)591-0750 x228