• 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 20:14:45 -0400

I don't understand what you say about autoLocking being RR based.
Yep, sorry -- you're right ... Lock coalescing is the one that depends on the RR loop. That said, I definitely ran into cases where auto- locking alone was not enough (at least on the web ... maybe it's less of an issue with JC). What would happen is that you'd have a series of, say, 5 operations that were logically a single transaction, but would be 5 individual lock-unlock autolocks, and there would be changes to the snapshot state inbetween calls that would cause some weird race conditions. This is actually why I decided to do the lock coalescing stuff in Wonder, which seemed to clear up the issues. But not having done JC, maybe this is less of an issue. It only appeared under higher-than-"normal" load.

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: Florijan Stamenkovic <email@hidden>
References: 
 >Locking problem (From: Florijan Stamenkovic <email@hidden>)
 >Re: Locking problem (From: Mike Schrag <email@hidden>)
 >Re: Locking problem (From: Florijan Stamenkovic <email@hidden>)

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