I should have suggested lock instead of tryLockUntil: [NSDate distantFuture]. (I don't really use NSLock, since my threads are generally lower-level stuff than Cocoa.) There's nothing that won't work the way I suggested, but the tryLockUntil is just unnecessary. Sorry for putting a bit of cruft in my answer instead of really making it as simple as possible ;-)
-- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com