repo.or.cz
/
pachi.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Distributed engine: Define is_pachi_slave() and avoid busy loop if error
2010-05-24
Jean-loup Gailly
Distri
b
uted en
g
ine: Define is_p
a
chi_s
l
ave()
an
d
avoi
d
.
.
.
commit
|
commitdiff
|
tree
2010-05-24
Jean-loup Gailly
Distributed engine: A
v
oid unlikely race co
n
dition
in
.
.
.
commit
|
commitdiff
|
tree
2010-05-24
Jean-loup
G
ai
l
ly
Distributed
slave: Do not lo
o
p forever
o
n in
v
alid
g
tp
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Jea
n
-
l
oup Gailly
tree_alloc_node(): Support co
u
nt > 1 fo
r
f
a
s
t_alloc
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Jea
n
-lo
u
p Gailly
Merge
b
ra
n
ch 'der
m
3' into
d
erm
commit
|
commitdiff
|
tree
2010-05-10
Jea
n
-loup Gailly
gtp
.
c:
C
all new genm
o
v
es function and sen
d
binary st
a
ts
commit
|
commitdiff
|
tree
2010-05-10
Jean
-
lou
p
G
a
i
lly
Dist
r
i
b
u
t
e
d
engine: Send binar
y
stats updates to s
l
av
e
s
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup
G
ailly
Distributed sl
a
v
e: Send b
i
nary stats up
d
ates to master
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup
Gailly
Di
s
tributed e
n
g
ine: Define hook to
g
et stats received
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-
l
ou
p
Ga
i
lly
Distribute
d
en
g
i
n
e
: Suppor
t
merging stats
r
eceive
d
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup G
a
i
l
ly
Dis
t
ributed
engine: Defined shared_nodes,
i
n
i
tialize
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-
l
oup Gailly
Distributed slave: Discard binary ar
g
s
i
f
e
r
ror
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup Gailly
Dis
t
ribu
t
ed
e
ngine: force a d
i
fferent id
i
f
reques
t
ed
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup Gailly
Distrib
u
t
ed en
g
ine: the ma
s
ter
r
e
ad
s
and
writes binary
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-l
o
up Gai
l
ly
Distributed
s
lave: update tree stats from increments
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-loup Gailly
Distr
i
b
uted slave: S
e
nd
absolute counts to master
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-loup Gailly
move
.
[ch
]
: Ad
d
s
t
r
2scoord()
,
ex
p
ort coord2bs
t
r() to
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean
-
loup Ga
i
lly
Distr
i
b
uted engine: D
e
fi
n
e board_b
i
ts2 and pat
h
2s
s
tr
commit
|
commitdiff
|
tree
2010-05-07
Je
a
n
-loup Gailly
Distr
i
buted engin
e
: the slave
n
ow receives stats in
.
.
.
commit
|
commitdiff
|
tree
2010-05-07
Jea
n
-loup Gailly
gtp
.
c: tim
e
_sub() n
o
w
has an e
x
tra paramet
e
r
.
commit
|
commitdiff
|
tree
2010-05-07
Je
a
n-loup G
a
illy
zzgo
.
c
: Add ver
b
ose_logs variable
to
a
void huge log
s
.
commit
|
commitdiff
|
tree
2010-05-06
J
e
an-loup
G
ailly
Distrib
u
te
d
e
n
gin
e
: allow wa
i
ting for
j
ust one n
e
w
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Jean
-
loup Gai
l
ly
Define DEB
U
G_MODE
and DE
B
U
G
V
commit
|
commitdiff
|
tree
2010-05-06
J
e
an
-
loup Gail
l
y
Do not subtract s
e
veral
byoyomi st
o
nes within
t
he same
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Jean
-
lo
u
p Gailly
Move imp
l
ementati
o
n of the
m
aster-slave protocol
t
o
.
.
.
commit
|
commitdiff
|
tree
2010-04-08
J
e
an-loup Gailly
uct
_
genmoves():
played_own must no
t
i
nclude base_playouts
.
commit
|
commitdiff
|
tree
2010-04-08
J
e
a
n-
l
o
up Gailly
Distributed
e
ngine: alwa
y
s se
n
d the rig
h
t history,
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup Gailly
D
i
stributed engi
n
e
:
use modulo
a
rith
m
etic for index
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup Gai
l
ly
uct
_
n
o
tify(): Stop
ba
c
kground searc
h
on new game to
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup Gailly
Distribut
e
d engine: clear comm
a
nd history
at game start
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
Je
a
n-lo
u
p Ga
i
l
l
y
M
erge bran
c
h
'
d
e
r
m'
commit
|
commitdiff
|
tree
2010-04-06
Je
a
n-l
o
up Gailly
uct_notify(): Skip r
e
st of multi-line command
when
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
Jean-l
o
up Gailly
Distr
i
buted engine: fix che
c
k for
resending same command
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-loup Gaill
y
Di
s
t
r
ibuted engine: do no
t
resend same command if slave
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
Jean
-
loup Gailly
slave_
l
o
op(): A
d
d f
u
ncti
o
n proc
e
ss_reply()
t
o
clean
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-loup Gai
l
ly
slave_loop(): Add
f
unction send_comman
d
() to clean
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
Jean-lou
p
Gailly
Distr
i
buted
engine: always sleep
i
n the slave to
a
void
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
Jean-loup Gailly
Move uct_notify() to slave
.
c
commit
|
commitdiff
|
tree
2010-04-04
Jean-loup Gailly
Merge branch 'master' into derm
commit
|
commitdiff
|
tree
2010-04-03
Je
a
n-loup
Gailly
D
i
stributed engine: supp
o
r
t t
h
e kgs-r
u
les
c
ommand
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gailly
uct_gen
m
o
ves(): call
prepare_mo
v
e() ea
r
lier to avoi
d
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-
l
o
u
p
G
ai
l
ly
Merge bra
n
c
h
'master' into de
r
m
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gai
l
ly
Distributed engi
n
e:
e
xchange a
l
so
ama
f
stats between
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
J
ean-lou
p
G
ailly
Check all memory
a
llocations to av
o
id co
r
e dump wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
J
e
an
-
loup G
a
illy
Remove gtp_
i
d
in struct uc
t
, n
o
t needed
anymo
r
e
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-lo
u
p Gailly
Merge
branch 'dist' into
d
erm
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup
G
ailly
tre
e
_in
i
t
:
exit cle
a
n
l
y i
n
s
tead of cor
e
d
u
mp when r
u
nning
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup
G
a
illy
Distributed engine:
no
d
e
recei
v
ed from
master may not
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-l
o
up
Gai
l
ly
A
v
oid memory l
e
ak in
u
ct_genmov
e
s()
.
commit
|
commitdiff
|
tree
2010-04-01
J
ean-loup Gailly
M
a
k
e distribu
t
ed engine much less ve
r
bose b
y
default
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-l
o
up Gailly
Distr
i
bute
d
e
ngi
n
e: exchange played_games between m
a
ster
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
D
i
strib
u
te
d
engine: fix incor
r
e
ct s
t
ats accounti
n
g
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
J
e
an-l
o
up Gailly
D
istributed eng
i
ne
:
f
ix kee
p
_looking in slave to avoi
d
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Je
a
n-l
o
up
G
ailly
Distributed engine code clea
n
u
p
: sp
l
it sele
c
t_best_m
o
ve
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
J
e
an-loup Gailly
Distr
i
buted engine: force
wait
i
ng for
a
new command
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gailly
Distributed engi
n
e
s
elect_best_move
(
): simplify code
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gailly
Distributed engine ge
t
_repl
i
es(): wait
for at le
a
s
t
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Je
a
n-loup Gail
l
y
Distribut
e
d en
g
ine: accept reply to a previous genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-loup Gailly
Distributed e
n
g
i
ne: remove support fo
r
temp replies
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean
-
loup Gailly
Distrib
u
t
e
d engine: mas
t
er sends regu
l
ar stats
upda
t
es
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-loup Gai
l
ly
Di
s
t
ribu
t
ed
e
n
gine: s
l
aves keep th
i
nking aft
e
r genmove
s
.
.
.
commit
|
commitdiff
|
tree
2010-03-25
Jea
n
-
l
o
u
p Gail
l
y
Distributed en
g
ine: move time parsing
t
o uct_genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Je
a
n-lou
p
Gailly
Dist
r
ibuted engin
e
: do not forward ti
m
e
_
left
t
o slaves
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Jean-loup Ga
i
lly
Set RULES_CHINESE
a
s default
.
commit
|
commitdiff
|
tree
2010-03-18
Je
a
n-loup
Gailly
M
e
rge branch 'master'
int
o
derm
commit
|
commitdiff
|
tree
2010-03-18
Jean-
l
oup Gailly
Distributed engine
:
u
nblock main
t
hread after a slave
.
.
.
commit
|
commitdiff
|
tree
2010-03-18
Jean-loup Gail
l
y
L
imit wor
s
t thi
n
king time for sudden death games, to
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
J
ean-loup Gailly
D
istr
i
buted engine:
a
v
o
i
d
i
nfi
n
ite loop resending command
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
Jean-loup
G
ai
l
ly
Fix the 6ec3
c
a4 fi
x
: a late slave didn't get corr
e
ct
.
.
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gailly
Support
t
he "
k
gs-r
u
l
e
s
"
gtp c
o
mmand
.
commit
|
commitdiff
|
tree
2010-03-15
J
e
a
n-loup Gailly
distribut
e
d
.
c:
make global va
r
iables
stat
i
c
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gailly
D
i
stribu
t
ed engine:
s
laves send tempora
r
y re
p
lies continuousl
y
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-lou
p
Gailly
zzgo
:
always reset the default time
f
o
r a new game
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-loup Gailly
get_rep
l
ies: avoid unini
t
ia
l
ized varia
b
le "now"
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-loup Gailly
Distri
b
ute
d
master se
n
d
s time info to slaves in gen
m
oves
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-l
o
up
G
ailly
g
t
p
.
c: avoid compil
a
tion warning
f
or sle
e
p
()
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup G
a
illy
Display t
h
e o
w
n
ermap als
o
fo
r
the distribut
e
d slav
e
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-
l
oup Gailly
board_pri
n
t_c
u
stom: constr
u
ct a st
r
ing and print it
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-lou
p
Ga
i
lly
Merge branch 'time' into
d
erm
commit
|
commitdiff
|
tree
2010-03-10
J
ean
-
loup G
a
illy
Do not wa
s
te tim
e
if we are winning
.
Spend up to worst
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup G
a
il
l
y
Always us
e
at least half the desir
e
d time
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
Increas
e
MIN_MOVES_LEFT
from 10 to 30 to give much
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-lou
p
Gailly
Distributed
slave
:
do
not cle
a
r
t
he tree
b
efore move
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Je
a
n-loup Gail
l
y
Distributed engine:
log number
o
f
replies and threads
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup Gailly
F
i
x final_status_list arg
u
ment (again)
.
commit
|
commitdiff
|
tree
2010-03-09
Jea
n
-lo
u
p Gaill
y
Se
n
d genmove and final_status_lis
t
in the dedicated
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-lou
p
Gailly
Fix
comments about
command his
t
or
y
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup
G
a
illy
Distribu
t
e
d
e
n
gine: resend on
l
y partial comman
d
history
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
J
e
a
n-
l
oup
Gailly
M
e
rge branch 'master' into de
r
m
commit
|
commitdiff
|
tree
2010-03-08
Jea
n
-loup Gail
l
y
dist
r
ibuted engi
n
e:
add debug info when not gettin
g
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gailly
S
u
p
port t
h
e kgs-game_ove
r
command
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gailly
If slav
e
has
n
ever seen boar
d
si
z
e or clear
_
board, ask
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Je
a
n-loup Gailly
Merge
b
ranch '
m
as
t
er' into
d
erm
commit
|
commitdiff
|
tree
2010-03-08
Jean-l
o
up Gailly
Set bo
a
rd
-
>size
e
ve
n
if
BOARD
_
SIZE is
defined, f
o
r
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
J
ean-loup Gail
l
y
Merge branch 'm
a
ster' i
n
t
o
de
r
m
commit
|
commitdiff
|
tree
2010-03-08
Jean-lo
u
p
G
ailly
d
i
stributed_noti
f
y
:
fi
n
al_status_lis
t
needs
a
n
a
rg
u
ment
.
commit
|
commitdiff
|
tree
2010-03-08
Jea
n
-lou
p
G
ailly
Support a
b
solute nu
m
ber of games for distributed engine
.
commit
|
commitdiff
|
tree
2010-03-07
J
ean-loup Gailly
Slave thread
:
check for updat
e
d co
m
mand bef
o
r
e r
e
p
lying
.
commit
|
commitdiff
|
tree
2010-03-07
J
e
an-loup Gailly
distributed e
n
gin
e
: do not
re
s
end
h
istory continously
.
commit
|
commitdiff
|
tree
2010-03-07
Jean-loup Gaill
y
gtp_parse:
d
o not execut
e
comman
d
s that the engin
e
.
.
.
commit
|
commitdiff
|
tree
next