Ricardo J. Parada wrote:
Hmm... I'm using background threads in my apps to do some processing. The thread creates is editing context for its own use. Something like this:

EOObjectStoreCoordinator parentObjectStore = new EOObjectStoreCoordinator();
            editingContext = ERXEC.newEditingContext(parentObjectStore);

I pass GIDs to this background thread. But if I understand what you are saying, creating the editing context like this can still get me in trouble still.
Ricardo
Ricardo,

It might be useful to consider using ERXTimerTask or dive into its implementation for more info. I run all my background threads this way and I have zero lock issues.

I don't create my own OSC either for what that's worth.

Jon

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to