• 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: Loading EOModels and locking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading EOModels and locking


  • Subject: Re: Loading EOModels and locking
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 04 Nov 2003 21:28:12 -0800

A bit of a mystery that.  A quick search using Eclipse's Type Hierarchy
Inspector reveals a protected static NSRecusiveLock named
_EOGlobalModelLock.  There don't appear to be any methods to access this.
One could assume (keeping in mind the dangers of assumptions) that locking
is handled internally by the classes in EOAccess and that you can safely
call the methods as you need.  Speaking from experience, that seems to be
just fine.  I'e never seen any problems.

Chuck


At 05:49 PM 04/11/2003 +0100, Giorgio Valoti wrote:
>Hi,
>I'm programmaticaly adding (and removing) an EOModel for testing
>purposes; I read from the EOF guide
><http://developer.apple.com/documentation/WebObjects/
>Enterprise_Objects/Concurrency/index.html> that there's a global lock
>for loading EOModel files.
>Should I take care of that lock by myself? If so, how?
>
>TIA
>
>--
>Giorgio Valoti
>-------------
>_______________________________________________
>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.

  • Follow-Ups:
    • Re: Loading EOModels and locking
      • From: Giorgio Valoti <email@hidden>
References: 
 >Loading EOModels and locking (From: Giorgio Valoti <email@hidden>)

  • Prev by Date: Re: Openbase on Panther
  • Next by Date: Re: Documentation for 5.2.2
  • Previous by thread: Loading EOModels and locking
  • Next by thread: Re: Loading EOModels and locking
  • Index(es):
    • Date
    • Thread