• 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: [Solved] Re: Synchronizing Thread Execution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Solved] Re: Synchronizing Thread Execution


  • Subject: Re: [Solved] Re: Synchronizing Thread Execution
  • From: Antonio Nunes <email@hidden>
  • Date: Thu, 7 Dec 2006 10:13:51 +0000

On 6 Dec 2006, at 22:46, Scott Ribe wrote:

 The only change
I made to the above, since I need to scope the synchronization
document-wide rather than application-wide, was to instantiate the
syncObject in the NSDocument's init method thus:

conversionSyncObject = [[NSObject alloc] init];

If I correctly read your requirements, you could also just use the NSDocument itself.

I actually did that before I changed it to the above and it worked a treat. After all the discussion on this thread though it just seems more future proof to have a dedicated object for this particular synchronization.


-António

-----------------------------------------
Forgiveness is the perfume
that the trampled flower casts
upon the heel that crushes it.
-----------------------------------------



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Re: [Solved] Re: Synchronizing Thread Execution (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: WebKit if-modified
  • Next by Date: Re: Synchronizing Thread Execution
  • Previous by thread: Re: [Solved] Re: Synchronizing Thread Execution
  • Next by thread: Re: Synchronizing Thread Execution
  • Index(es):
    • Date
    • Thread