home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.arch      Apparently more than just beeps & boops      131,241 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 130,552 of 131,241   
   Chris M. Thomasson to MitchAlsup   
   Re: Memory ordering (Re: Multi-precision   
   17 Dec 25 13:52:10   
   
   From: chris.m.thomasson.1@gmail.com   
      
   On 12/13/2025 2:03 PM, MitchAlsup wrote:   
   >   
   > "Chris M. Thomasson"  posted:   
      
   [...]   
      
   Take the following algorithm for a semaphore:   
      
   https://www.haiku-os.org/legacy-docs/benewsletter/Issue1-26.html   
   (remember that old one?)   
      
   Okay, on the x86/x64 a LOCK XADD will make for a loopless impl. If we   
   are on another system and that LOCK XADD is some sort of LL/SC loop,   
   well, that causes damage to my loopless claim... ;^o   
      
   Also, big deal!, NOTHING inside the LL/SC can/should touch the   
   reservation granule of a target, wrt LL/!!!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca