Re: Reponsiveness of application
Re: Reponsiveness of application
- Subject: Re: Reponsiveness of application
- From: Andrew Pinski <email@hidden>
- Date: Sun, 27 Apr 2003 13:31:06 -0400
Use Shikari from the CHUD tools to find out what is taking all the time.
You might just be paging a lot.
Also, you need to explicitly call display on the progress bar every once
in a while if you do not go through the event loop.
If you make your progressing a separate thread then you do not have to
explicitly tell the progress bar to display.
Thanks,
Andrew Pinski
On Sunday, Apr 27, 2003, at 13:15 US/Eastern, Ben Kazez wrote:
I am creating a simple Cocoa application that processes a very large
(often as large as 17 MB!) char array, which is in an NSBuffer. The
problem is that the application is totally unreponsive during this
processing, and the processing takes a long time. The progress bar in
my window won't even appear and start animating.
Do I just need to make a separate thread, or is there something I'm
overlooking?
Ben
. . . . . . . . . . . . . . . . . . . . . . .
Ben Kazez
<http://ben.kazez.com/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.