Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Amy problem isolated -- don't use tablebase files until fixed...

Author: Dann Corbit

Date: 18:22:10 03/24/00

Go up one level in this thread


On March 24, 2000 at 21:05:17, Dann Corbit wrote:

>6k1/8/5p2/8/8/8/1R6/K7 w - -
>Give this to Amy and you will get an immediate explosion.  I'll investigate
>further...

My problem -- I forgot to fix something I should have.  In fact, I did fix it in
some other places.  The NT port of pthreads cannot tolerate the
PTHREAD_MUTEX_INITIALIZER value of 0xfffffffffff, since it evaluates to an
address outside of the allowed address space.  As soon as it is examined,
el-blamo.  I have repaired it, and will post a patch with 20 minutes or so...

Here is the fix to probe.c:

#if MP && HAVE_LIBPTHREAD
#ifdef _WIN32
static pthread_mutex_t EGTBMutex = {0};
#else
static pthread_mutex_t EGTBMutex = PTHREAD_MUTEX_INITIALIZER;
#endif
#endif


I found (and corrected) another small problem at the same time that is not
related.




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.