• 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: Anjo Krank <email@hidden>
  • Date: Fri, 6 May 2005 18:03:03 +0200


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!



_______________________________________________ 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: 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>
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>)

  • Prev by Date: Set value of SubComponent from Parent.
  • Next by Date: Re: A WOLongResponsePage that _sometimes_ seems to create a deadlock
  • 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