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: Avoid unlikely race condition in buffer recycling
2010-05-24
Jean-loup Gailly
D
i
str
i
buted engine
:
Avoid
unli
k
ely race conditio
n
in
.
.
.
commit
|
commitdiff
|
tree
2010-05-24
Jean-loup Gaill
y
Distributed slave:
D
o n
o
t
loop
f
orever on inv
a
lid gt
p
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
J
ean-loup Ga
i
lly
tree_alloc_node(): Support count > 1 for fast_all
o
c
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Je
a
n
-
lo
u
p
G
ailly
Merg
e
branch 'derm3' i
n
t
o
derm
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup G
a
ill
y
gtp
.
c: Ca
l
l new g
e
nmo
v
es function and se
n
d bi
n
ary
s
tats
commit
|
commitdiff
|
tree
2010-05-10
Jean-
l
oup Gailly
Distrib
u
ted engine: S
e
n
d
binary st
a
ts up
d
ate
s
to slaves
commit
|
commitdiff
|
tree
2010-05-10
J
e
a
n-loup
G
aill
y
Distributed slave: Send
b
inary s
t
a
ts updates to master
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup Gailly
Distr
i
b
uted e
n
gine: Define hook
t
o get stats receiv
e
d
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup Gai
l
ly
D
istribute
d
engine: Support merging stats
received
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jea
n
-
l
oup Gai
l
l
y
Distributed engine: Defined sh
a
red_nodes, initi
a
lize
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jea
n
-lou
p
Gai
l
ly
D
istributed
slave
:
Discard bi
n
ary args
i
f error
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup Gailly
Distributed engine: force a
different id
i
f
r
e
quested
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup Gail
l
y
Distributed en
g
i
n
e:
t
he master
r
e
a
ds and wri
t
es binary
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
J
e
a
n-loup Gailly
Distribu
t
e
d slave:
updat
e
tree
s
tats from
i
ncre
m
ents
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-l
o
up G
a
i
l
ly
D
istributed slave:
S
e
nd absolute counts to master
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-loup
G
ailly
m
ove
.
[ch
]
:
Add str2scoord()
,
e
xport coord2bstr()
to
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-l
o
up Gailly
D
i
s
tri
b
u
t
e
d en
g
in
e
: Define board_bits2 and path2s
s
tr
commit
|
commitdiff
|
tree
2010-05-07
Jean
-
loup Gailly
Distributed
engine: the slave n
o
w re
c
ei
v
e
s
st
a
ts in
.
.
.
commit
|
commitdiff
|
tree
2010-05-07
Jean-loup Gailly
gtp
.
c: time_sub() now has an extra pa
r
am
e
ter
.
commit
|
commitdiff
|
tree
2010-05-07
J
e
a
n
-
loup Gail
l
y
zzg
o
.
c: Add ve
r
b
ose_logs
v
ariable to avoid hu
g
e
logs
.
commit
|
commitdiff
|
tree
2010-05-06
Je
a
n-loup Ga
i
l
l
y
Dist
r
ibuted engine: all
o
w waitin
g
for just
one new
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Jean-
l
oup Ga
i
lly
Define DEBUG_MODE
and DEB
U
GV
commit
|
commitdiff
|
tree
2010-05-06
Jean-l
o
up Gailly
Do not
s
ubtract sev
e
ral byoyomi s
t
ones
w
ithin the same
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Jean-loup G
a
i
l
l
y
Move implementation
of the master-slave
p
r
otocol to
.
.
.
commit
|
commitdiff
|
tree
2010-04-08
J
ean-loup Gailly
uct_genm
o
ves(): played_own must
not in
c
lud
e
base_
p
lay
o
uts
.
commit
|
commitdiff
|
tree
2010-04-08
Jean-loup Gailly
D
i
str
i
buted engine: alw
a
ys send t
h
e right
h
istory,
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean
-
loup Gailly
Distribu
t
e
d
en
g
ine
:
use modulo ar
i
thmeti
c
for index
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Je
a
n-loup G
a
illy
uct_notify(
)
: Stop backgr
o
und se
a
rch o
n
n
ew
game to
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean
-
loup Gailly
D
ist
r
ibuted engi
n
e: c
l
ear
c
o
m
mand his
t
ory at
game start
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
J
e
a
n
-
loup Gailly
Merge b
r
a
n
c
h
'
derm'
commit
|
commitdiff
|
tree
2010-04-06
Jean-loup Gailly
uct_noti
f
y
(
): Sk
i
p rest of mul
t
i
-line co
m
mand when
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
J
ean-loup Gailly
Distributed eng
i
ne: f
i
x check
f
or resending same c
o
mmand
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-loup G
a
ill
y
D
istributed en
g
ine: d
o
not resend s
a
me command if sl
a
ve
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-loup Gailly
slave_loop()
:
Add
f
unction pro
c
ess_reply() to clean
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
Jean
-
loup Gailly
slave_loop(): Add function sen
d
_command()
t
o
c
lean
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
Jean-l
o
up Gailly
Distributed engine: al
w
ays sleep in the
sla
v
e to avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
J
ean-loup
Gailly
M
o
ve
uct
_
no
t
i
f
y() to slave
.
c
commit
|
commitdiff
|
tree
2010-04-04
Jean-loup Gailly
Merge
b
ranch 'master
'
int
o
d
e
rm
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gail
l
y
Distributed engine: support the kgs-rule
s
c
o
mma
n
d
.
commit
|
commitdiff
|
tree
2010-04-03
J
e
a
n
-loup Gaill
y
uct_g
e
n
moves
(
): c
a
ll prepare_
m
ove() ea
r
lier to avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
J
ean-loup Gail
l
y
M
erge b
r
anch
'master' into derm
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup
G
a
i
l
ly
Distribute
d
eng
i
ne:
exchan
g
e
a
lso amaf
s
tats betw
e
en
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup
G
ailly
Check all memory alloca
t
ions to a
v
oid core dump
when
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup Gailly
Remove
g
t
p_id in str
u
c
t
u
ct, n
o
t needed anymor
e
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup Gailly
M
e
rge branch 'dist' int
o
derm
commit
|
commitdiff
|
tree
2010-04-02
J
e
an-loup Gailly
tree
_
init:
exit cleanly instead
of co
r
e dump
w
hen run
n
in
g
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup Gailly
Distr
i
buted
e
ngin
e
: node rece
i
v
ed
f
rom
ma
s
ter
m
ay
not
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
Avoid
m
emory
l
e
ak in
uct_genm
o
ves()
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup
G
ailly
Make dist
r
i
buted engine much less verbose b
y
default
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
Distr
i
buted engi
n
e:
e
xchange p
l
ay
e
d
_games b
e
twee
n
mast
e
r
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Je
a
n
-lou
p
Gail
l
y
Distrib
u
t
ed
e
n
gine:
f
ix incorrec
t
stats account
i
ng
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
J
e
a
n-l
o
up
G
a
illy
Di
s
t
r
ibuted
e
ngine: fi
x
k
e
ep_
l
ooking in
s
la
v
e
t
o avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
J
e
an
-
loup Gail
l
y
Dist
r
ibuted engine c
o
de cleanup:
s
plit
select_best_
m
ove
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
J
ean-loup
G
ailly
Distributed eng
i
ne
:
force
w
ai
t
ing f
o
r
a
n
e
w
command
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gailly
D
i
st
r
i
b
u
ted
engin
e
select_best_
m
o
ve(): sim
p
lify
c
ode
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-lou
p
Gaill
y
Distrib
u
ted engine get_replie
s
(
)
:
w
ai
t
for at least
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-lo
u
p
Ga
i
lly
Distribut
e
d engine: accept rep
l
y to a previous genm
o
v
es
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-loup
G
ailly
Distr
i
b
u
te
d
engine: remove su
p
po
r
t
for temp rep
l
ies
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean
-
loup Ga
i
lly
Distributed engine: master
s
e
nds
r
egu
l
ar stats updates
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-
l
o
u
p Gail
l
y
Distribut
e
d
e
n
g
i
n
e
:
sl
a
ves
k
e
ep
thinking
after
g
enmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-25
J
ean-loup Gaill
y
Distributed engine:
m
ove time parsing t
o
uct_genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Jean-lo
u
p Gailly
Dis
t
ribu
t
ed e
n
g
i
n
e
: do not forward time_left to sla
v
es
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Jean-loup Gailly
Set RULES_CHINE
S
E as default
.
commit
|
commitdiff
|
tree
2010-03-18
Jean-loup Gailly
Merge bra
n
ch 'ma
s
ter' into
d
e
rm
commit
|
commitdiff
|
tree
2010-03-18
Jean-
l
o
u
p
G
ai
l
ly
Dist
r
i
buted engine: unblock mai
n
thread after a slave
.
.
.
commit
|
commitdiff
|
tree
2010-03-18
Jean-loup Gailly
L
i
mi
t
wors
t
t
h
inking time for sudd
e
n de
a
th
g
a
m
es, to
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
J
ean-loup Gailly
Distribut
e
d engine:
a
vo
i
d i
n
finite loop re
s
end
i
ng command
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
Jean
-
lou
p
Gai
l
ly
F
i
x th
e
6ec3ca4 fix:
a
l
ate slave di
d
n't get correct
.
.
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gailly
Support the "kgs-rules" gtp command
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gailly
di
s
t
ributed
.
c: mak
e
g
l
ob
a
l
v
a
riab
l
es stat
i
c
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gailly
Distribute
d
e
n
g
ine: slaves
send temporary repl
i
es
c
on
t
inuously
.
commit
|
commitdiff
|
tree
2010-03-11
Jean
-
loup Gailly
zzg
o
: always re
s
e
t the
d
efault
t
ime for a new
gam
e
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-l
o
up Gailly
g
e
t_replies: avoid uniniti
a
lized variable "now"
.
commit
|
commitdiff
|
tree
2010-03-11
Jean
-
loup Gai
l
ly
Distributed ma
s
ter s
e
n
d
s time info to
s
laves in genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gaill
y
gtp
.
c: avoid c
o
mpil
a
tion warning
f
or
s
l
e
e
p
(
)
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
Dis
p
lay
t
he
ownermap also for t
h
e d
i
stributed slave
.
commit
|
commitdiff
|
tree
2010-03-10
J
e
an-loup G
a
il
l
y
boa
r
d_print_custom
:
construct a
string a
n
d print it
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-
l
o
u
p Gailly
Merge branch '
t
ime' into derm
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gai
l
l
y
Do not waste tim
e
if we are winni
n
g
.
Spend
u
p
to worst
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean
-
l
o
up Gailly
Al
w
a
y
s use a
t
l
e
ast ha
l
f
t
he de
s
ired time
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-
l
ou
p
Gailly
Increase
MIN_MOVE
S
_LE
F
T
f
rom 10 to 30 to
g
ive
m
uch
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-
l
oup Gailly
Distr
i
but
e
d slave: d
o
not
c
le
a
r
t
h
e tree before move
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-lou
p
Gaill
y
D
istri
b
ut
e
d engi
n
e: log number of
r
e
p
lies an
d
thread
s
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup Gailly
Fix
f
inal_statu
s
_list argument (again)
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup
G
ailly
Send genmo
v
e and final
_
s
t
a
tus_li
s
t in the dedicated
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
J
ean-lou
p
G
a
ill
y
Fix comments about command hist
o
ry
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup Gailly
D
i
stri
b
u
te
d
e
n
g
i
ne: re
s
end onl
y
pa
r
tial command history
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup
Gaill
y
Me
r
ge branc
h
'
master'
in
t
o derm
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gailly
dist
r
ibu
t
ed engine: a
d
d d
e
bu
g
i
n
fo when not getting
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
J
e
an-loup
Gailly
Support
th
e
k
gs-game_over comm
a
nd
.
commit
|
commitdiff
|
tree
2010-03-08
Je
a
n-loup Gai
l
ly
If slave has never
s
ee
n
boardsize or c
l
e
a
r
_board, ask
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
J
e
a
n-loup G
a
illy
Merge br
a
nch 'master'
i
nto der
m
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gai
l
ly
S
et b
o
ard->si
z
e even if BO
A
R
D_SIZE
is de
f
ined, for
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-lou
p
Gailly
M
erg
e
b
ranch 'master' into de
r
m
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup
Gailly
distri
b
uted_
n
otify: final_statu
s
_list needs an arg
u
ment
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-
l
oup Gailly
Support absolute number of games
f
or di
s
t
r
ibuted en
g
i
n
e
.
commit
|
commitdiff
|
tree
2010-03-07
Jean-loup Gailly
Slave threa
d
: check for updated
comma
n
d bef
o
re
rep
l
y
ing
.
commit
|
commitdiff
|
tree
2010-03-07
Jean
-
lo
u
p Gailly
distributed engine: do not resend h
i
story c
o
nt
i
nously
.
commit
|
commitdiff
|
tree
2010-03-07
J
e
a
n-loup Gailly
gtp_parse: do not
e
xecute comm
a
nd
s
t
h
at
t
he engine
.
.
.
commit
|
commitdiff
|
tree
2010-03-07
J
e
an-lou
p
G
a
illy
Merge branch '
m
aster' into derm
commit
|
commitdiff
|
tree
next