• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reponsiveness of application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Reponsiveness of application
      • From: Finlay Dobbie <email@hidden>
References: 
 >Reponsiveness of application (From: Ben Kazez <email@hidden>)

  • Prev by Date: Re: Hiding an NSTextField
  • Next by Date: getting the size of the current window
  • Previous by thread: Reponsiveness of application
  • Next by thread: Re: Reponsiveness of application
  • Index(es):
    • Date
    • Thread