Re: Busy doing nothing

2008-08-29 Thread Gerriet M. Denkmann
On 29 Aug 2008, at 20:57, Phil wrote: On Fri, Aug 29, 2008 at 9:42 PM, Gerriet M. Denkmann <[EMAIL PROTECTED]> wrote: If I add these magic lines it will use 0.2% of my Cpu just doing nothing: NSMetadataQuery *query = [ [ NSMetadataQuery alloc] init]; [ query startQuery ];

Re: Busy doing nothing

2008-08-29 Thread Phil
On Fri, Aug 29, 2008 at 9:42 PM, Gerriet M. Denkmann <[EMAIL PROTECTED]> wrote: > If I add these magic lines it will use 0.2% of my Cpu just doing nothing: > >NSMetadataQuery *query = [ [ NSMetadataQuery alloc] init]; >[ query startQuery ]; >[ query stopQuery ]; >NSA

Busy doing nothing

2008-08-29 Thread Gerriet M. Denkmann
I have an app which does not take any Cpu-time when it is doing nothing. So what? you might say. Every app does this. Well, not quite. If I add these magic lines it will use 0.2% of my Cpu just doing nothing: NSMetadataQuery *query = [ [ NSMetadataQuery alloc] init]; [ query