• 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 do a progress window the "right way"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do a progress window the "right way"?


  • Subject: Re: How to do a progress window the "right way"?
  • From: Frederick Cheung <email@hidden>
  • Date: Sat, 25 Sep 2004 16:02:24 +0200


On 25 Sep 2004, at 14:27, Nicko van Someren wrote:

On 25 Sep 2004, at 12:00, Daniel Tapie wrote:

I'd like to be able to display a progress window (with a cancel button) for a QuickTime movie export process.
...
- the MovieExport component is NOT thread-safe, so I cannot do the export from a separate thread

Just because something is not thread safe does not mean you can not run it in a separate thread. The issue with thread safety is to do with things being accessed from more than one thread. As long as all the communication with the Movie Expoer component always happens from the same single thread you should be OK.


	Nicko

It would be nice if that was true, but it isn't always the case, for example if the non thread safe api is accessing some global data that belongs to the system (and accessed by other threads without you being able to do anything about it).

Fred

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to do a progress window the "right way"? (From: Daniel Tapie <email@hidden>)
 >Re: How to do a progress window the "right way"? (From: Nicko van Someren <email@hidden>)

  • Prev by Date: Updating UI Date formats on user NSUserDefault changes
  • Next by Date: Re: How to do a progress window the "right way"?
  • Previous by thread: Re: How to do a progress window the "right way"?
  • Next by thread: Re: How to do a progress window the "right way"?
  • Index(es):
    • Date
    • Thread