Re: [Solved] Re: Synchronizing Thread Execution
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