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
J
e
an-loup
Gaill
y
D
istribut
e
d engine: Define i
s
_
p
achi_slave() and
avoid
.
.
.
commit
|
commitdiff
|
tree
2010-05-24
Jean-loup Gaill
y
D
istributed e
n
g
i
ne: Avoid u
n
likely
r
ace condition in
.
.
.
commit
|
commitdiff
|
tree
2010-05-24
Jean-loup Gailly
Di
s
tribu
t
ed s
l
ave: Do not loop forever on invalid gtp
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup Gailly
tree_alloc_no
d
e(): Support count > 1 f
o
r fast_al
l
oc
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup Gailly
Merge
bran
c
h 'derm3' into derm
commit
|
commitdiff
|
tree
2010-05-10
Je
a
n-lou
p
Gailly
gtp
.
c: Call n
e
w genmoves fu
n
ct
i
on
a
nd send binary st
a
ts
commit
|
commitdiff
|
tree
2010-05-10
Jean-lou
p
G
a
illy
Distributed e
n
gine: Send bi
n
ary stats updates to
s
laves
commit
|
commitdiff
|
tree
2010-05-10
Je
a
n-l
o
up Gailly
Distributed sla
v
e
: Send binary stats updates to
master
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup Gailly
Dis
t
ribut
e
d engine:
D
efi
n
e ho
o
k to get st
a
ts received
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup Gailly
Distribute
d
eng
i
ne: Support mergin
g
stats received
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-lou
p
Gailly
Distri
b
uted e
n
gine: Define
d
shared_nodes,
i
nit
i
al
i
ze
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-lou
p
Gailly
Dist
r
ibuted slave: Discard binary a
r
gs if error
commit
|
commitdiff
|
tree
2010-05-09
J
ean-lou
p
Gailly
Dis
t
ri
b
ute
d
eng
i
ne: forc
e
a differ
e
nt id if re
q
ueste
d
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup G
a
illy
D
i
s
tribut
e
d
engine: the master re
a
ds an
d
writes binary
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Je
a
n-loup Gailly
Distributed
s
lav
e
: update tree st
a
t
s
f
rom increments
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-l
o
up Gailly
Distributed
s
lave: Send absolute counts to maste
r
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-loup Gailly
move
.
[ch]: Add
s
tr2scoord(), export coord2bst
r
() to
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-loup Gailly
D
istributed engine:
Def
i
ne
boa
r
d_bits2 a
n
d pa
t
h2sstr
commit
|
commitdiff
|
tree
2010-05-07
J
ean-loup Gailly
Distribu
t
ed engine: the slave now r
e
ceive
s
stats i
n
.
.
.
commit
|
commitdiff
|
tree
2010-05-07
Jean-l
o
up Gailly
g
t
p
.
c: time_sub(
)
now has an
e
xtra paramete
r
.
commit
|
commitdiff
|
tree
2010-05-07
J
e
an
-
loup Gai
l
ly
z
z
go
.
c: Add verbose_logs variabl
e
t
o
avoid hug
e
lo
g
s
.
commit
|
commitdiff
|
tree
2010-05-06
Jea
n
-loup
Gailly
Dis
t
ributed engine: allow w
a
iting for just
o
ne new
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Jean-loup Gailly
Define
D
EBUG_M
O
DE
a
n
d
DEBUGV
commit
|
commitdiff
|
tree
2010-05-06
Jean-loup
G
ailly
Do
not subtrac
t
several byoyomi s
t
one
s
wit
h
in the same
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Je
a
n
-
l
oup Gailly
Move implementati
o
n o
f
the mas
t
er-sla
v
e protocol to
.
.
.
commit
|
commitdiff
|
tree
2010-04-08
J
ean-loup Gailly
uct_genmoves(): played_own must
not include bas
e
_playouts
.
commit
|
commitdiff
|
tree
2010-04-08
Jea
n
-
l
oup Gailly
Distrib
u
ted
engine: alw
a
ys send the right history,
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup Gai
l
ly
Distribu
t
ed engine: use modulo arithme
t
ic fo
r
inde
x
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup
Gai
l
l
y
u
c
t
_notify(): Stop background searc
h
o
n
n
ew gam
e
t
o
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup Gaill
y
Di
s
tributed eng
i
ne: clea
r
command history at game start
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
Jean
-
loup G
a
illy
Merge branch 'de
r
m'
commit
|
commitdiff
|
tree
2010-04-06
Jean-loup Gaill
y
uc
t
_not
i
fy(): S
k
ip rest of multi-line comma
n
d whe
n
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
Jea
n
-loup Gailly
D
i
stri
b
uted engine
:
fix check for resend
i
ng same command
.
commit
|
commitdiff
|
tree
2010-04-05
Jea
n
-loup Gailly
Dist
r
ibuted engine: do not re
s
end same c
o
mmand i
f
slave
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
J
ean-
l
o
u
p
Gailly
slave_lo
o
p(): Add function process_re
p
ly() to cl
e
an
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-loup
G
ailly
slave_loop(
)
: Add fun
c
tion
send_
c
ommand() t
o
c
l
ean
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
Jean
-
loup Gailly
D
i
stributed engine: alway
s
sleep
i
n the slave to avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
Jean-loup Gailly
Move uct_notify()
t
o
slave
.
c
commit
|
commitdiff
|
tree
2010-04-04
Jea
n
-lo
u
p
Gail
l
y
M
e
rge bra
n
ch 'master' i
n
to derm
commit
|
commitdiff
|
tree
2010-04-03
Jea
n
-loup Gailly
D
i
stributed engine: support th
e
k
g
s-
r
ul
e
s command
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup G
a
i
l
l
y
uct_
g
enmoves
(
):
c
all prepare_move
(
) earli
e
r t
o
avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
J
e
an-loup
Gailly
M
e
rg
e
branch
'master'
i
nto derm
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gaill
y
Distributed en
g
i
ne: exchange al
s
o amaf
s
t
a
ts between
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gailly
Check
all memory allocations to avoid core dum
p
when
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup Ga
i
lly
Rem
o
ve gtp_id in struct uct, not
n
eeded any
m
ore
.
commit
|
commitdiff
|
tree
2010-04-02
J
ean-loup Gailly
Me
r
ge
b
r
anc
h
'dist' into derm
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup
G
ail
l
y
tr
e
e_init: exit clean
l
y instea
d
o
f
core dump
w
hen
r
u
nning
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup Gaill
y
Dist
r
ib
u
t
e
d engine: n
o
de receiv
e
d from master ma
y
not
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-lo
u
p Gailly
Avoid memor
y
leak i
n
u
c
t
_ge
n
moves
(
)
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
Ma
k
e dis
t
ributed e
n
gin
e
much less verbose by default
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
Distributed en
g
in
e
:
e
xc
h
ange played_
g
ames between master
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gaill
y
D
ist
r
ibuted engine
:
f
i
x
i
nc
o
rre
c
t s
t
ats
a
ccoun
t
ing
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-lou
p
Gailly
Distributed
e
n
gine: fix keep_look
i
ng i
n
slave to avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
Distributed engin
e
code cleanu
p
: split se
l
ect_
b
est
_
move
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-lou
p
Gailly
Distributed engi
n
e
: force waiti
n
g
for
a
new
c
ommand
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gailly
Distributed engi
n
e
s
e
l
ect_best_mov
e
():
s
i
mplify code
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gailly
Distribute
d
engine g
e
t_replies(): wait
f
or at least
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gailly
Dist
r
ibut
e
d
engine
:
accept
r
ep
l
y to a pr
e
vio
u
s genmov
e
s
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
J
e
an-loup Gailly
D
istributed engine: re
m
ove support for temp
replie
s
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Je
a
n-loup Gailly
Dis
t
ributed engine: master
s
ends
r
e
g
ular
s
tats updates
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-loup
G
ai
l
ly
Distribut
e
d engine: slaves keep thinking aft
e
r
genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-25
Jean-lo
u
p Gailly
Distrib
u
t
e
d engine:
m
ove time parsing to uct_
g
enmov
e
s
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Jean-loup Gaill
y
D
istributed engine: do not
f
o
rward time_le
f
t to slave
s
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Jean-loup Gailly
Set RULES_CH
I
NESE as defa
u
lt
.
commit
|
commitdiff
|
tree
2010-03-18
Jean-loup Gailly
M
e
rge b
r
anch 'master' in
t
o derm
commit
|
commitdiff
|
tree
2010-03-18
Jean-lo
u
p Gailly
Distribute
d
eng
i
ne: unbloc
k
main thre
a
d aft
e
r a slave
.
.
.
commit
|
commitdiff
|
tree
2010-03-18
Jean-lou
p
Gailly
Limit worst thinki
n
g
time f
o
r s
u
d
den dea
t
h games
,
t
o
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
Jean-loup G
a
illy
Dist
r
ibute
d
engi
n
e: a
v
oid i
n
finite loo
p
r
e
sen
d
ing
command
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
Jean-loup Gailly
Fix the 6ec3ca4 fix
:
a late s
l
ave didn't get co
r
rect
.
.
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gailly
S
upport
t
he "kgs-rule
s
" gtp comma
n
d
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Ga
i
lly
distributed
.
c:
m
a
ke gl
o
bal
v
ariables static
.
commit
|
commitdiff
|
tree
2010-03-15
J
e
a
n-
l
ou
p
Gailly
D
istribu
t
ed
e
ngine:
s
laves send t
e
mporary replies continuously
.
commit
|
commitdiff
|
tree
2010-03-11
Jean
-
loup Gaill
y
zzgo: always rese
t
the default time
for a n
e
w game
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-loup Gailly
get_rep
l
ies: avoid uninitialized variable "now"
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-loup Gai
l
l
y
Distri
b
uted master sen
d
s time info to
slaves
i
n
g
enmov
e
s
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Je
a
n-loup Gailly
gt
p
.
c: avoid compilation warning
for sleep()
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-lou
p
G
ailly
D
i
splay th
e
owne
r
map also for the d
i
strib
u
ted slave
.
commit
|
commitdiff
|
tree
2010-03-10
Jea
n
-loup Gai
l
l
y
board
_
print_c
u
s
t
om
:
co
n
struct a st
r
in
g
and print it
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean
-
l
oup Gailly
Merg
e
branch 'ti
m
e'
i
nto derm
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
Do not
w
aste t
i
m
e if we
a
re winning
.
S
p
end up to
worst
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup
G
a
i
lly
Alwa
y
s use at least ha
l
f
the d
e
sired
t
ime
.
commit
|
commitdiff
|
tree
2010-03-10
J
e
an-
l
oup Gailly
I
n
c
r
e
ase
M
IN_MOVES_LEFT from 10 to 30 to give much
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
J
e
an-loup Gailly
Distributed sl
a
ve: do not clear the tree before move
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
J
e
an-loup Ga
i
lly
Distributed en
g
i
n
e: log
n
u
mber of replies an
d
threads
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Je
a
n-loup Gailly
Fix
f
ina
l
_st
a
t
u
s_list argument
(
a
gain)
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup Ga
i
lly
Send
genmove and fina
l
_
s
ta
t
u
s
_
l
i
s
t in
t
he
d
edicated
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
J
ean-loup Gailly
Fix
c
omments about command hist
o
r
y
.
commit
|
commitdiff
|
tree
2010-03-09
J
ean
-
lou
p
Gailly
D
istributed engine: resend only partial co
m
mand history
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup Gailly
Merge branch 'master' into derm
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gail
l
y
di
s
t
r
ibute
d
en
g
ine: add debug info wh
e
n
not getting
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-lou
p
Gailly
Support the
k
gs-game
_
over command
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gailly
If slave
h
a
s
nev
e
r seen bo
a
rdsize or clear_board, ask
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
J
e
an-loup
Gaill
y
Mer
g
e br
a
nch 'm
a
ster' into derm
commit
|
commitdiff
|
tree
2010-03-08
J
e
an-loup Gailly
Set board->size even if BO
A
RD_SIZE
is d
e
fin
e
d, for
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
J
ean-loup Gail
l
y
Merge
br
a
nch
'master' i
n
t
o
derm
commit
|
commitdiff
|
tree
2010-03-08
J
e
an-loup Gailly
distr
i
bu
t
ed_no
t
ify: final
_
status_list needs an argument
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-lo
u
p Gai
l
l
y
Suppo
r
t absolute number
of
g
ames for
d
istributed engine
.
commit
|
commitdiff
|
tree
2010-03-07
J
ean-loup
Gailly
Slave t
h
read: check
f
or updated command be
f
ore replying
.
commit
|
commitdiff
|
tree
2010-03-07
J
e
an-loup Gail
l
y
dis
t
r
i
b
uted engine
:
do n
o
t resend hist
o
r
y
continously
.
commit
|
commitdiff
|
tree
2010-03-07
J
e
an-loup Gailly
g
tp_parse:
d
o
n
ot e
x
ecute commands that the engine
.
.
.
commit
|
commitdiff
|
tree
next