[Top][All Lists]

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

Re: [Bug-gnubg] possible degrade with change set "protect movelist durin

From: Jonathan Kinsey
Subject: Re: [Bug-gnubg] possible degrade with change set "protect movelist during autosave"
Date: Fri, 9 Oct 2009 13:39:08 +0000

A safer approach is to only save in between move analysis, something like:

main thread: wait until save timeout, then set flag (or event)
worker threads: check flag before each move, if set increment a counter and wait
for save to finish
main thread: do save when all threads have stopped (then reset flag)

This won't be great for performance if the save interval is small, but I assume
analysis saving is only useful for very long match analysis operations.


保坂範行 wrote:
> Hi,
> How to reproduce:
> Play a match with gnubg, then let gnubg to analyze match.
> Do not get any move list for moves for the recorded match.
> I'm very sure that this problem caused by change set "protect movelist
> during autosave".
> Built both source before change and source after change.
> I hope this report helps you.
> Nori
> ------------------------------------------------------------------------
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnubg

View your other email accounts from your Hotmail inbox. Add them now.

reply via email to

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