Author: Robert Hyatt
Date: 17:21:15 02/23/06
Go up one level in this thread
On February 23, 2006 at 18:37:17, Charles Roberson wrote: >On February 23, 2006 at 18:11:32, Volker Böhm wrote: > >>Hi, >> >>I am currently working on an smp version of spike, but it crashed while using >>egtb´s. What do I have to do to get them run in smp. Currently I am Doing the >>following: >> >>1. I have defined the SMP symbol. >>2. I am using one instance of egtb cache (static variable) and not one for every >>thread. >> >>What do I have to do to make egtb work on multiple processors? >> >>Greetings Volker > > The cache may be your problem. In multithreading shared resources must > be made thread safe or duplicated without sharing. The cache is thread-safe. Always has been since Eugene developed this to work with Crafty, which used Posix threads for a long time. The main issue is that you have to make sure that the "locks" are shared or obviously nothing will work. But other than that, assuming you are using threads, it should work right out of the box...
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.