repo.or.cz
/
pachi
/
json.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-
l
ou
p
G
ailly
Distr
i
b
uted
e
ngine
:
Defi
n
e is_p
a
c
hi
_
slav
e
()
a
nd
avoid
.
.
.
commit
|
commitdiff
|
tree
2010-05-24
J
e
an-lou
p
Gai
l
l
y
D
istributed engine: Avoid un
l
ikely ra
c
e con
d
ition in
.
.
.
commit
|
commitdiff
|
tree
2010-05-24
Jean-loup Gailly
D
is
t
ribu
t
ed slav
e
: Do not
loop
f
or
e
ver on inva
l
i
d gtp
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Je
a
n-loup G
a
illy
tree_alloc_no
d
e
(
)
: Sup
p
ort co
u
nt > 1 for fast
_
alloc
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Jean
-
l
o
up Gail
l
y
M
e
rge branch 'derm3' into derm
commit
|
commitdiff
|
tree
2010-05-10
J
e
a
n
-loup
G
ailly
g
tp
.
c
: Call n
e
w
ge
n
moves
f
unction an
d
send binary stats
commit
|
commitdiff
|
tree
2010-05-10
Jea
n
-l
o
up
G
ailly
Dis
t
ribute
d
eng
i
ne
:
Send bi
n
ary stats update
s
to slave
s
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup Ga
i
l
ly
Distributed slave:
S
end bina
r
y stats updates to master
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup Gailly
Distributed engine: Def
i
ne hook to
g
et stats re
c
ei
v
ed
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jea
n
-lou
p
Gailly
D
i
stributed engine: Su
p
p
o
rt merging stats received
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Je
a
n-loup G
a
illy
Dis
t
ributed
e
ngine: Defined s
h
ared_nodes, initialize
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean
-
loup Gailly
Dis
t
ributed slave: D
i
s
card b
i
n
a
ry a
r
gs if error
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup
Gai
l
ly
Di
s
tributed en
g
in
e
: forc
e
a d
i
fferent i
d
if requ
e
sted
commit
|
commitdiff
|
tree
2010-05-09
J
ean-loup Gailly
Distributed e
n
g
ine: the
maste
r
reads and writes
binary
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup Gailly
Dis
t
r
ibu
t
ed slave:
update tree stats
f
r
om
i
nc
r
ements
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-lo
u
p Gailly
Distri
b
uted slave: S
e
nd a
b
solu
t
e
counts t
o
master
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-lo
u
p
Gailly
move
.
[ch]: A
d
d
s
tr2scoo
r
d(),
e
xport c
o
o
r
d2bst
r
(
)
to
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-lo
u
p Gailly
Distribu
t
ed engine: D
e
fine b
o
ard_bits2 and path2sst
r
commit
|
commitdiff
|
tree
2010-05-07
J
e
an-l
o
up Gailly
Dist
r
ibuted engine: t
h
e
s
lave now receives stats in
.
.
.
commit
|
commitdiff
|
tree
2010-05-07
Jean-lo
u
p Gai
l
ly
gtp
.
c: time_sub() now has an e
x
t
r
a paramet
e
r
.
commit
|
commitdiff
|
tree
2010-05-07
Jea
n
-lo
u
p Gailly
zzgo
.
c: Add verbose
_
logs varia
b
l
e
to
a
v
oid
huge lo
g
s
.
commit
|
commitdiff
|
tree
2010-05-06
J
e
an-loup Gailly
Distributed engine: allow
waitin
g
fo
r
just
one new
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Jean-loup
Gailly
D
e
fine DEBUG_MODE and DEBUGV
commit
|
commitdiff
|
tree
2010-05-06
Jea
n
-loup Gail
l
y
Do not subt
r
act sev
e
ral
by
o
yomi s
t
ones within the s
a
me
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Jean-loup Gailly
Move
implementation
of the mas
t
e
r
-s
l
ave protocol to
.
.
.
commit
|
commitdiff
|
tree
2010-04-08
Jean-
l
oup Gailly
uct_genmoves(
)
: played_own m
u
st not include
base_playou
t
s
.
commit
|
commitdiff
|
tree
2010-04-08
Jean-loup Gailly
Distrib
u
ted
engine: always send th
e
right
h
istory,
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup Gailly
Distri
b
uted engine: use
m
o
dulo
ari
t
hmetic for index
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
J
e
a
n-loup Gailly
uct
_
n
o
tify(): S
t
op background search on ne
w
game to
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup
G
ailly
Dis
t
rib
u
ted
engin
e
: clear command his
t
o
r
y a
t
game start
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
Jean-lou
p
Gailly
Merge b
r
an
c
h 'derm'
commit
|
commitdiff
|
tree
2010-04-06
Jean-lou
p
Gailly
uct_noti
f
y()
:
Skip r
e
st
o
f multi
-
l
i
n
e com
m
and w
h
en
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
Jea
n
-
l
o
u
p Gail
l
y
Distrib
u
ted
engine
:
f
i
x
c
h
e
ck for
r
esending s
a
m
e command
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-loup
Gailly
Distr
i
b
uted
e
ngine: do not rese
n
d same command if slave
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
J
ean
-
loup Gailly
slave_loo
p
(): Add func
t
ion
pro
c
ess_repl
y
() to clean
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
Je
a
n-loup Gai
l
ly
sl
a
ve_loop(): A
d
d f
u
n
c
tion send_command
(
) to clean
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
Jean-l
o
up Gailly
Dis
t
rib
u
ted engine:
alway
s
sleep in t
h
e
slave to avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
Jean-loup Gaill
y
Move
u
ct_n
o
tify(
)
t
o
slave
.
c
commit
|
commitdiff
|
tree
2010-04-04
J
e
a
n
-
l
o
u
p
Gailly
M
e
rge branch
'
master' into derm
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gail
l
y
Distributed
engine:
s
upport the kgs-rules c
o
mmand
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gailly
uct_genmoves(
)
: cal
l
prepare_m
o
ve() earlier to av
o
id
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-lo
u
p
G
aill
y
Me
r
ge branch
'
master' into der
m
commit
|
commitdiff
|
tree
2010-04-03
Jean-
l
oup Gailly
Distributed engine: exch
a
nge also amaf s
t
ats between
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-lou
p
Gailly
Check all memory all
o
cations t
o
avoid core dump wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup G
a
illy
Remove gtp_id in struct uct, n
o
t n
e
eded anymore
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-
l
oup
G
aill
y
M
erge
branch 'di
s
t' int
o
derm
commit
|
commitdiff
|
tree
2010-04-02
Jean-lo
u
p Gailly
tree_in
i
t: e
x
it cle
a
nly i
n
stea
d
of cor
e
dump when running
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
J
ean-lo
u
p Gailly
D
is
t
ributed engine: node r
e
c
e
ived from mast
e
r
may not
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
Av
o
id me
m
o
r
y leak
in uct_genmo
v
es(
)
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-
l
o
up G
a
i
l
ly
M
a
ke
d
i
s
t
r
i
bu
t
ed engine m
u
ch
l
e
ss verbos
e
by defaul
t
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup G
a
il
l
y
Distributed en
g
in
e
: exchange played_games betwe
e
n
m
aster
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
Distributed eng
i
ne
:
fix incorrect stats a
c
coun
t
ing
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup
G
ailly
Distributed engine: fix kee
p
_looking in s
l
a
ve to avo
i
d
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
J
ean-loup Gailly
D
i
stribute
d
engine
code cleanup
:
s
p
lit select_best_mov
e
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gailly
Di
s
tr
i
buted
engine: force waiting for a new command
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gailly
Distribu
t
ed engine
s
elect_best_move(): simplify code
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-l
o
up Gailly
Distributed e
n
gine
g
et_replies(): wa
i
t for at least
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Je
a
n-
l
o
u
p Ga
i
lly
Distribu
t
ed engine: accept
reply to a pr
e
vi
o
us genmov
e
s
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-
l
o
u
p Gailly
Distribut
e
d engine: remove
support for temp replies
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-l
o
up Gailly
Distributed e
n
g
ine: master s
e
nds regular stats upda
t
es
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-lou
p
Gailly
D
istribu
t
ed
e
ngine: slaves keep thinki
n
g
afte
r
genmo
v
es
.
.
.
commit
|
commitdiff
|
tree
2010-03-25
Jean-loup Gailly
Dis
t
ribut
e
d e
n
gine: move time pa
r
sing to uct_genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
J
e
an-loup Gai
l
ly
Distribut
e
d en
g
ine
:
do no
t
forward
t
im
e
_left to slaves
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Jean-lou
p
Gailly
Set RU
L
ES_CHI
N
ESE as d
e
fault
.
commit
|
commitdiff
|
tree
2010-03-18
Jean-loup Ga
i
lly
M
erge
b
ranch 'master' into d
e
r
m
commit
|
commitdiff
|
tree
2010-03-18
Jea
n
-l
o
up Gailly
Dis
t
ributed engine: unblock m
a
in th
r
ead after a slave
.
.
.
commit
|
commitdiff
|
tree
2010-03-18
Jean-loup Gail
l
y
Limit worst t
h
inking
t
ime fo
r
sudd
e
n
d
eath games, to
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
J
e
an-loup Gailly
D
i
stributed engine:
av
o
i
d
infinite l
o
o
p
rese
n
ding c
o
mmand
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
Jean-
l
o
u
p Gailly
Fix the 6ec
3
ca4 fi
x
:
a l
a
te
s
lave
didn't get
c
orrec
t
.
.
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gailly
Support
the "kgs-rules" g
t
p comm
a
nd
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gaill
y
dis
t
ributed
.
c: make
g
lo
b
a
l
variables static
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gail
l
y
Distr
i
buted engine: slaves send t
e
mpo
r
ary replies con
t
inuous
l
y
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-loup Gail
l
y
zzgo: alwa
y
s reset the defa
u
lt time for a ne
w
g
a
m
e
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-loup Gailly
get_replies:
a
voi
d
uninitialize
d
variab
l
e "now"
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-loup Gailly
Distributed ma
s
t
e
r send
s
time in
f
o to slaves
i
n genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
gtp
.
c: avoid
c
ompi
l
ation warni
n
g f
o
r sleep()
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gail
l
y
Display the ownermap
also f
o
r the distributed s
l
ave
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
boa
r
d_print_custo
m
:
construct a string and prin
t
it
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
J
e
an-loup
Gail
l
y
M
e
rge branch 'time' into de
r
m
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
Do not waste time
if we
are
winnin
g
.
S
p
end up to worst
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-lo
u
p
Gailly
Always
u
se at least half the de
s
i
r
e
d tim
e
.
commit
|
commitdiff
|
tree
2010-03-10
J
e
a
n-lo
u
p Gailly
In
c
rease MIN_MOVE
S
_L
E
FT
f
r
o
m
10
t
o
3
0 to
g
i
ve much
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-
l
oup Gailly
Distribute
d
slave: do not clear the
t
r
ee before
move
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-lou
p
Gaill
y
Distributed engine:
log numbe
r
of replies and
threads
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
J
e
an-loup Gail
l
y
Fix final_status
_
list argume
n
t (again)
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-
l
oup
Gailly
S
e
n
d genmove and final_status_list in
t
he d
e
dicated
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-l
o
u
p
Gailly
Fix comments about command history
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-lo
u
p
G
a
i
l
ly
Dis
t
ri
b
uted engine: resend
o
n
ly
partia
l
command hist
o
ry
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Je
a
n-loup Gail
l
y
Merge branch '
m
aster' i
n
to derm
commit
|
commitdiff
|
tree
2010-03-08
J
e
a
n-loup
G
ailly
dis
t
ributed engin
e
: ad
d
debug
i
nfo when not
g
etting
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-
l
o
up Gai
l
l
y
Support the k
g
s-game_ov
e
r command
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-
l
oup Gailly
I
f
s
lave has never
s
een boardsi
z
e or clear_board, ask
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup
G
ailly
Merge br
a
nch 'master' into derm
commit
|
commitdiff
|
tree
2010-03-08
J
ean-loup
Gailly
S
et
b
oa
r
d->size even if BOAR
D
_
SI
Z
E is defined, for
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gailly
Merge branch 'master'
i
nto derm
commit
|
commitdiff
|
tree
2010-03-08
Jean-
l
oup Gailly
distribu
t
ed_notif
y
: final_st
a
tus_li
s
t needs an
a
rgument
.
commit
|
commitdiff
|
tree
2010-03-08
J
e
an-loup Gai
l
ly
Support absolute n
u
mber
o
f
g
ames f
o
r distributed eng
i
ne
.
commit
|
commitdiff
|
tree
2010-03-07
J
ean-loup Gailly
Slave thr
e
ad: ch
e
ck for updated command b
e
fore replying
.
commit
|
commitdiff
|
tree
2010-03-07
Jean-lo
u
p Gailly
distributed engine: do
not r
e
send
history co
n
tinously
.
commit
|
commitdiff
|
tree
2010-03-07
Jean
-
loup Gailly
g
t
p_parse:
d
o not execute c
o
mmands that t
h
e engine
.
.
.
commit
|
commitdiff
|
tree
next