• 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: Locking problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Locking problem
      • From: Florijan Stamenkovic <email@hidden>
    • Re: Locking problem
      • From: Lachlan Deck <email@hidden>
References: 
 >Locking problem (From: Florijan Stamenkovic <email@hidden>)

  • Prev by Date: Locking problem
  • Next by Date: ERXEntityClassDescription - Invalid class name for entity
  • Previous by thread: Locking problem
  • Next by thread: Re: Locking problem
  • Index(es):
    • Date
    • Thread