Re: Loading EOModels and locking
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.