[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSRunLoop bug
From: |
Andy Ruder |
Subject: |
NSRunLoop bug |
Date: |
Tue, 19 Feb 2002 23:09:29 -0600 |
User-agent: |
Mutt/1.3.27i |
I have an app that uses [NSRunLoop runUntilDate] to put my program into a
idle state
for a short amount of time. The problem is that now it puts my cpu usage at
90%(which
is not good for idling =P). I have a feeling that this has something to do
with the poll
patch perhaps. I have included a small app(just two files, a makefile and a .m
file) that
exhibits this behavior in as little lines of code as possible. All it does is
sets a timer
for 1 second and prints a message. I don't think that it should be taking 90%
of system
usage. Anyways, take a look. I don't think its my fault; I tried many things
before deciding
that this was the fault of gnustep(including rewriting my network classes about
10 times =P)
Thanks a bunch. I would fix it, but, quite simply, I'm totally and utterly
confused by the
gnustep code. Thanks again.
Bye
-- Andy Ruder (Beregorn on OPN #gnustep -- Come check us out)
DoesNotIdle.tar.bz2
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- NSRunLoop bug,
Andy Ruder <=