• 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: Deadlock [Fixed - we think!]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deadlock [Fixed - we think!]


  • Subject: Re: Deadlock [Fixed - we think!]
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 28 Nov 2007 00:07:58 -0500

However, you need to manually lock/unlock your ecs used in Long responses... and it's probably not a good idea using the session's ec in your long response.
You can extend ERXWOLongResponsePage to get similar autolocking behavior that you would in a normal RR-loop, btw. And actually even in a regular long response, you'll get autolocking, but not coalesced locks (ERXWOLongRP adds that specifically). But definitely I agree that using session EC's and EO's that came from session EC's in a long response page is a really bad idea. Actually, passing EO's across thread boundaries _in general_ is a bit of a tricky thing to lock properly. I often bypass this problem completely and pass GID's across thread boundaries rather than EO's.

ms

_______________________________________________
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


References: 
 >Deadlock [Fixed - we think!] (From: Simon McLean <email@hidden>)
 >Re: Deadlock [Fixed - we think!] (From: Chuck Hill <email@hidden>)
 >Re: Deadlock [Fixed - we think!] (From: Simon McLean <email@hidden>)
 >Re: Deadlock [Fixed - we think!] (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Object with globalID could not be found in the database, when it is there ??
  • Next by Date: Re: Wonder AjaxInPlace within a WORepetition?
  • Previous by thread: Re: Deadlock [Fixed - we think!]
  • Next by thread: Webservices and arrays deserializer and WO 5.4
  • Index(es):
    • Date
    • Thread