POV-Ray : Newsgroups : povray.off-topic : Lock-free : Re: Lock-free Server Time
29 Jul 2024 00:25:25 EDT (-0400)
  Re: Lock-free  
From: Darren New
Date: 9 Aug 2012 19:48:46
Message: <50244c5e@news.povray.org>
On 8/7/2012 5:42, Le_Forgeron wrote:
> The difficult part in all such algorithms is the "special" write
> instruction. You cannot make it lock-free without the support at the
> assembly level by the instruction set (at least in NUMA architecture)

Not true. Look up Lamport's bakery algorithm. (Wikipedia has a good write-up.)

-- 
Darren New, San Diego CA, USA (PST)
   "Oh no! We're out of code juice!"
   "Don't panic. There's beans and filters
    in the cabinet."


Post a reply to this message

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