|
![](/i/fill.gif) |
Orchid XP v8 wrote:
> Although... how is #4 different from #2?
#4 is only having a lock on one item at a time. #2 means you can have
multiple locks, you just can't *wait* on a lock if you already have another
lock.
They all sound pretty similar, and boil down to "don't cause conflicts
without resolving it." You can avoid causing it (by only locking one thing,
or locking in order) or you can resolve it (by freeing locks when you get a
deadlock).
> Anyway, do you have a citable reference for this stuff? (I'm guessing
> Dijkstra, Knuth, or somebody must have written about this...)
Uh, probably somewhere, but not off the top of my head, no.
--
Darren New, San Diego CA, USA (PST)
I ordered stamps from Zazzle that read "Place Stamp Here".
Post a reply to this message
|
![](/i/fill.gif) |