• 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: Q about locked ec
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q about locked ec


  • Subject: Re: Q about locked ec
  • From: Anjo Krank <email@hidden>
  • Date: Wed, 17 Feb 2010 23:21:48 +0100

You *can* pass EOs between threads. You just really, wanna make sure your threads don't block each other (and do proper locking, auto may not be good enough). In particular, you don't wanna use the session EC in a long running thread.

Cheers, Anjo



Am 17.02.2010 um 21:23 schrieb Kieran Kelleher:

> 1) Don't pass EOs between threads. Pass their EOGlobalIDs and use ec.faultForGlobalID to rehydrate them in an ec in the thread that needs them.  Use Wonder ERXEO<Something>Utilities.convertEOtoGID if desired.  (Something  = 'Access' or 'Control', I can never remember which)
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Q about locked ec
      • From: Steve Peery <email@hidden>
References: 
 >Q about locked ec (From: Philippe Rabier <email@hidden>)
 >Re: Q about locked ec (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Q about locked ec
  • Next by Date: Re: Q about locked ec
  • Previous by thread: Re: Q about locked ec
  • Next by thread: Re: Q about locked ec
  • Index(es):
    • Date
    • Thread