• 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: A WOLongResponsePage that _sometimes_ seems to create a deadlock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A WOLongResponsePage that _sometimes_ seems to create a deadlock


  • Subject: Re: A WOLongResponsePage that _sometimes_ seems to create a deadlock
  • From: Kaj Hejer <email@hidden>
  • Date: Fri, 6 May 2005 18:09:17 +0200


On 6. mai 2005, at 18.03, Anjo Krank wrote:


Am 06.05.2005 um 16:56 schrieb Kaj Hejer:


    public void awake() {
        super.awake();
        if (editingContext != null && isPerformActionFinished) {
            editingContext.lock();  //line 103
        }
    }


Never, *EVER* lock ECs in awake and sleep without some safety measure like ERXEC or this other thing of which I cant remember the name. You are not in the least guaranteed that the calls balance!





Thank you for answering!

This other ting... :) can it be MultiECLockManager (<http:// wocode.com/WOCode/Files/MultiECLockManager.java>)?


-kaj :)

_______________________________________________
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: 
 >A WOLongResponsePage that _sometimes_ seems to create a deadlock (From: Kaj Hejer <email@hidden>)
 >Re: A WOLongResponsePage that _sometimes_ seems to create a deadlock (From: Chuck Hill <email@hidden>)
 >Re: A WOLongResponsePage that _sometimes_ seems to create a deadlock (From: Kaj Hejer <email@hidden>)
 >Re: A WOLongResponsePage that _sometimes_ seems to create a deadlock (From: Anjo Krank <email@hidden>)

  • Prev by Date: Re: A WOLongResponsePage that _sometimes_ seems to create a deadlock
  • Next by Date: SELECT objects with condition on all their relationships
  • Previous by thread: Re: A WOLongResponsePage that _sometimes_ seems to create a deadlock
  • Next by thread: Re: A WOLongResponsePage that _sometimes_ seems to create a deadlock
  • Index(es):
    • Date
    • Thread