POV-Ray : Newsgroups : povray.off-topic : Locking references : Re: Locking references Server Time
8 Oct 2024 13:41:08 EDT (-0400)
  Re: Locking references  
From: Paul Fuller
Date: 9 Nov 2009 08:10:38
Message: <4af814ce$1@news.povray.org>
I'd think this is immediately obvious.

One issue is that a thread does not always know what locks it needs 
before the fact.  And if you hold a lock and want to get another with a 
lower key then you have to release the lock you hold then go back and 
get them in the right order.

As to references, Wikipedia 'Deadlock' article is a decent starting 
point.  Many more erudite references are given there.


Post a reply to this message

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