Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is anyone using Atomic Counters in their SMP programs?

Author: Robert Hyatt

Date: 17:45:37 04/28/00

Go up one level in this thread


On April 28, 2000 at 13:28:22, KarinsDad wrote:

>I read an interesting article by John M. Dlugosz titled "An Atomic Counter for
>Guaranteed Thread Safety" and was wondering if anyone was using this technique
>in their x86 SMP chess program. The article can be found in MSDN under
>Periodicals 1998/Visual C++ Developer/August.
>
>Since these techniques only appear to work for certain data types, I would
>assume that other techniques must also be used. What other techniques are being
>used?
>
>Also, this article implies that this works with multiple processors, but did not
>come right out and say it.
>
>This article also allows you to download source examples. And, some information
>can be found at:
>
>http://www.dlugosz.com/Repertoire/
>
>KarinsDad :)


I use pure spinlocks everywhere.  Simple and easy.  And very high performance.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.