[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] My pthread problem ?

From: Øystein Johansen
Subject: [Bug-gnubg] My pthread problem ?
Date: Fri, 28 Jun 2002 21:10:40 +0000
User-agent: Mutt/1.2.5i


As I mentioned in an earlier message, I'm working on pthreading of
an evaluation. I trying to pthread EvaluatePositionFull int 21
threads, one for each dice roll. (A 2-ply if statment will be added
and so, that's NOT the problem right now!)

The problem is that one of the threads is never returning, but
going some kind of infinite loop. (I think it is ScoreMove).
Therfore I can't join the threads either.

I'm mailing a patch to eval.c here in case anybody want to look into
this. I think I don't have enough experience with pthreads to fix
this my self. If someone with a better knowledge can help?


It's remarkable that a science which began with the consideration of
games of chance should have become the most important object of human
knowledge....   The most important questions of life are, for the most
part, really only problems of probability.          -- Laplace, 1812

Attachment: eval.c.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]