Computer Chess Club Archives


Search

Terms

Messages

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

Author: Mogens Larsen

Date: 18:34:27 03/24/00

Go up one level in this thread


On March 24, 2000 at 21:22:10, Dann Corbit wrote:

>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.

Good of you to find the error. For a few hours I thought I was a complete idiot
when it crashed several times. Acknowledged at Frank's page for my attempts at
creating an .amyrc-file, and liking it, and then going down in flames. Well,
king for a day, fool for a lifetime.

Best wishes...
Mogens



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.