• 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: How to show a progress without multithreading?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to show a progress without multithreading?


  • Subject: Re: How to show a progress without multithreading?
  • From: Eli Bach <email@hidden>
  • Date: Sat, 13 Mar 2010 20:39:30 -0700

On Mar 13, 2010, at 8:33 PM, Alexander Bokovikov wrote:

> Hi, All,
>
> I have a time-consuming procedure, and I'd like to show its progress. I can't use multi-threading for some technical reason.
> I'm looking for a way to update a progress indicator from this procedure,
> As far as I understand my task is to cause message loop processing.
> And my question is - how to do it?
>
> Thanks.

Are you getting periodic callbacks from the main runloop [say, by using an NSTimer], or just doing processing on the main thread without getting events [ie, so you get the spinning cursor of doom after a few seconds]?

Eli

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How to show a progress without multithreading? (From: "Alexander Bokovikov" <email@hidden>)

  • Prev by Date: How to show a progress without multithreading?
  • Next by Date: function cannot change buttons behavior
  • Previous by thread: How to show a progress without multithreading?
  • Next by thread: Re: How to show a progress without multithreading?
  • Index(es):
    • Date
    • Thread