[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] Re: GNUbgGTK threads
From: |
sev_notrump |
Subject: |
[Bug-gnubg] Re: GNUbgGTK threads |
Date: |
Fri, 28 Jun 2002 10:26:31 +0200 |
----- Original Message -----
Sent: Friday, June 28, 2002 9:46 AM
Subject: Re: GNUbgGTK threads
>........................................... The user
may initiate an
> operation via the GUI that will update the same analysis
that's running
> in the background.
Well if it's that simple just change the above in
:
"The user may not initiate
an
operation via the GUI that will update the same
analysis that's running
in the
background."
pseudo code for "the play new
game option"
1: disable creating new
threads
You can archieve that by disabling menu_entries which are
invokin new threads
involving the analyses function
2: disable not relevant
threads
Creates more speed
3: initialise a
thread which analyses the
previous
played move
4 play
game
......
5 if playing
done
6: remove the
thread created in 3
7: enable not
relevant
threads
restore the treads disabled in
2
8: enable
creating new
threads
Enable the menu items , disabled in 1
Rob