• 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: EOEditingContext.isLocked()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOEditingContext.isLocked()


  • Subject: Re: EOEditingContext.isLocked()
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 17 Sep 2003 09:18:07 -0700

And as it is implemented with NSRecusiveLock it is safe to lock it again if
you (the thread) already have it locked.  So, if in doubt, lock.  Just be
sure to unlock when you are finished.


Chuck


At 05:50 PM 17/09/2003 +0200, Anjo Krank wrote:
>Am Mittwoch, 17.09.03, um 17:44 Uhr (Europe/Berlin) schrieb Jonathan
>Rochkind:
>
>>> Are there any ways to check if a EOEditingContext is locked?
>
>This would not be very thread-safe, would it? Anyway, you could
>tryLock() and unlock() if that succeeds. So you at least know if
>another thread does not currently hold a lock.
>
>Cheers, Anjo
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: EOEditingContext.isLocked() (From: email@hidden (Anjo Krank))

  • Prev by Date: Re: NSNumberFormatter & NSTimestamp -- Not Happening
  • Next by Date: Re: NSNumberFormatter & NSTimestamp -- Not Happening
  • Previous by thread: Re: EOEditingContext.isLocked()
  • Next by thread: Using Custom Data types in EOModeler
  • Index(es):
    • Date
    • Thread