Re: Locking problem
Re: Locking problem
- Subject: Re: Locking problem
- From: Mike Schrag <email@hidden>
- Date: Mon, 13 Oct 2008 16:47:10 -0400
I tried adapting ERXEC to a JC scenario. I stripped away the factory
stuff, the delegate and properties (I made it always autoLock), as
well as lock coalescing. However, it does not help. I get deadlocks
and exceptions. There are two threads involved, one instance of my
WorkerThread class and AWT's event dispatch thread (responsible for
GUI painting).
Not sure how autolocking would work in Swing-land ... autolocking and
lockcoalescing only work because of the concept of a request-response
loop, which I'm assuming you don't have any concept of in JC. For web-
based, it knows it can automatically unlock all your EC's at the end
of the loop to prevent deadlocks, but I don't know what that
equivalent trigger point would be in JC?
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