POV-Ray : Newsgroups : povray.off-topic : Locking references : Re: Locking references Server Time
5 Sep 2024 03:20:12 EDT (-0400)
  Re: Locking references  
From: Darren New
Date: 9 Nov 2009 17:05:37
Message: <4af89231$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.