Re: Deadlock [Fixed - we think!]
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