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-loup Gailly
Distributed
e
ngine: Define is_pachi_slave()
and av
o
id
.
.
.
commit
|
commitdiff
|
tree
2010-05-24
Jean-loup
Gailly
Distri
b
uted engine: A
v
oid unlikely rac
e
condition in
.
.
.
commit
|
commitdiff
|
tree
2010-05-24
Jean-l
o
up Gailly
Distr
i
buted
s
lave: Do not lo
o
p forever
on
invalid gtp
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup Gailly
tree_al
l
oc_
n
ode(): Suppor
t
count > 1 for fast_allo
c
.
.
.
commit
|
commitdiff
|
tree
2010-05-10
J
ea
n
-lo
u
p
Gailly
Merge branc
h
'
d
erm3' into derm
commit
|
commitdiff
|
tree
2010-05-10
Jea
n
-loup Gailly
gtp
.
c: Call new
ge
n
mo
v
es
f
unction and sen
d
binary
s
tats
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup Gailly
Distributed
e
n
gine: Send bi
n
ar
y
stats
updates to slaves
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup Gailly
Distribu
t
ed s
l
a
ve: Send binary stats upd
a
t
e
s to
m
aster
commit
|
commitdiff
|
tree
2010-05-10
Jean-loup G
a
illy
D
i
stributed engine: Define
hook to g
e
t
s
tats received
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup Gailly
D
i
stributed engine: S
u
pport merging s
t
ats rec
e
ived
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-loup Gailly
Distri
b
u
t
ed engine
:
Defined shared_nodes,
i
n
i
ti
a
liz
e
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jea
n
-loup Gail
l
y
Distributed slave: Discard binary args if
error
commit
|
commitdiff
|
tree
2010-05-09
Jean-lo
u
p Ga
i
lly
Distributed en
g
ine: fo
r
ce
a di
f
f
e
rent id
i
f
requested
commit
|
commitdiff
|
tree
2010-05-09
Jean-
l
o
u
p Gailly
D
istributed
e
ngine:
t
h
e
mas
t
er reads and writes b
i
nar
y
.
.
.
commit
|
commitdiff
|
tree
2010-05-09
Jean-
l
oup
G
a
i
l
ly
D
i
s
t
ri
b
uted slave:
update tree
s
tats from increments
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Je
a
n
-
loup Ga
i
l
ly
Distri
b
uted slave: Send absolute counts to
m
a
s
ter
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-loup Gailly
move
.
[c
h
]: A
d
d
s
t
r2scoord(), export coord2bstr() to
.
.
.
commit
|
commitdiff
|
tree
2010-05-08
Jean-loup G
a
i
l
ly
Di
s
tributed engine: Define board_bit
s
2
and p
a
th2sstr
commit
|
commitdiff
|
tree
2010-05-07
Jean-loup
Gailly
Distribute
d
engine:
the
s
lave
n
o
w
re
c
eives stats in
.
.
.
commit
|
commitdiff
|
tree
2010-05-07
Jean-
l
oup Gailly
gtp
.
c: time_sub
(
) now has an
e
xtra parameter
.
commit
|
commitdiff
|
tree
2010-05-07
Jean
-
lou
p
Gail
l
y
zzg
o
.
c:
A
d
d verbose
_
log
s
variable
t
o a
v
oid hug
e
logs
.
commit
|
commitdiff
|
tree
2010-05-06
Jea
n
-loup Gail
l
y
Distributed
e
ngine: allow waiti
n
g f
o
r just one
new
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
J
e
a
n-loup G
a
ill
y
Define
DEBUG_MOD
E
and DE
B
UGV
commit
|
commitdiff
|
tree
2010-05-06
Jean-l
o
up Gailly
Do no
t
subtract severa
l
byoyomi stones
w
ithin the
same
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Jea
n
-
loup Gailly
Mo
v
e imp
l
ementati
o
n of the master-slave protocol t
o
.
.
.
commit
|
commitdiff
|
tree
2010-04-08
Jean-lo
u
p Gailly
u
c
t_genm
o
ves():
pla
y
e
d
_own must not
i
n
c
lud
e
b
ase_
p
layo
u
ts
.
commit
|
commitdiff
|
tree
2010-04-08
Jean-
l
oup G
a
illy
Dist
r
i
b
u
t
ed engine: always send the right hist
o
ry,
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup
G
ailly
Distributed
e
ngine
:
use
modulo arithmetic for index
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jean-loup Gailly
u
ct_n
o
tify
(
): Sto
p
b
a
ckgro
u
nd searc
h
on new
g
a
m
e
to
.
.
.
commit
|
commitdiff
|
tree
2010-04-07
Jea
n
-loup
Gail
l
y
Dis
t
ribute
d
engine
:
clear command
hist
o
ry
at game star
t
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
Jean-l
o
up Gailly
Me
r
g
e bran
c
h '
d
erm'
commit
|
commitdiff
|
tree
2010-04-06
J
ean-loup G
a
i
lly
u
c
t
_
notify(
)
: Skip rest of multi-
l
ine
co
m
mand when
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
Jean-
l
oup Gailly
Distri
b
uted engine: fi
x
check for resendi
n
g same
command
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-l
o
up Gailly
Distri
b
ut
e
d engi
n
e: do not resend s
a
me command if slave
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-loup
Gaill
y
slave_loop(): Add
f
unct
i
on process_re
p
l
y
() to
c
lean
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-loup G
a
il
l
y
sl
a
ve_loop(): Add function send_com
m
and() to clean
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
Jean-loup Gailly
Distr
i
b
u
t
e
d engine: always sl
e
ep i
n
t
h
e
slave to avoi
d
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
Je
a
n-loup Gailly
M
o
ve uct_notify() to
s
lave
.
c
commit
|
commitdiff
|
tree
2010-04-04
J
e
an-loup
Gailly
M
erge
b
ranch 'master' in
t
o derm
commit
|
commitdiff
|
tree
2010-04-03
Jean-lou
p
Ga
i
lly
Di
s
trib
u
ted e
n
gin
e
:
s
u
p
port the kgs-rules comma
n
d
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-lo
u
p Gaill
y
u
ct_ge
n
mov
e
s(): call
p
repa
r
e_move()
earlier to avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup
Gaill
y
Merge bra
n
ch
'master
'
into derm
commit
|
commitdiff
|
tree
2010-04-03
Jean-
l
oup Gaill
y
Distribu
t
ed engine: exchange also amaf stats between
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-
l
o
u
p
G
a
i
l
l
y
Check
a
ll me
m
o
ry allocations t
o
avoid core
dump when
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Je
a
n-lou
p
Gailly
Remo
v
e gtp_id in struct
uct, not needed anymore
.
commit
|
commitdiff
|
tree
2010-04-02
J
ean-l
o
up Gailly
Merg
e
branch 'dist' into derm
commit
|
commitdiff
|
tree
2010-04-02
J
ean-
l
oup Gailly
tree_init: exit cleanly ins
t
ead of cor
e
dum
p
when running
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Jea
n
-loup
Gai
l
ly
Distributed en
g
i
n
e: no
d
e
received from maste
r
may not
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
J
e
an-
l
oup
Gailly
A
v
o
i
d memor
y
lea
k
i
n
u
c
t
_
genmoves()
.
commit
|
commitdiff
|
tree
2010-04-01
Jea
n
-loup Gailly
Make distributed en
g
ine m
u
c
h
les
s
v
e
rbose by default
.
commit
|
commitdiff
|
tree
2010-04-01
J
ean-loup G
a
illy
Di
s
tributed eng
i
ne: exchange played_games betwee
n
master
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
Distributed engine
:
f
ix inco
r
rect stats a
c
cou
n
tin
g
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jea
n
-lou
p
Gailly
Distributed engine
:
f
ix keep_looking in s
l
ave t
o
av
o
id
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Je
a
n-
l
oup Gailly
Dis
t
ributed
e
n
g
ine code cle
a
nup: split select_best_move
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gai
l
l
y
D
istri
b
uted engine: f
o
rce w
a
it
i
ng for
a n
e
w command
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-lo
u
p Gailly
Di
s
tributed engine select_best_move(): simplify cod
e
.
commit
|
commitdiff
|
tree
2010-03-31
Je
a
n-loup Gail
l
y
Distribu
t
ed engine get_re
p
lies(): wait for a
t
least
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Je
a
n-loup Gai
l
ly
Distributed engine: accept
reply to a previous genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
J
e
an-l
o
up Gailly
Dis
t
ributed engine:
remove support
f
or
t
emp replies
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jea
n
-loup G
a
illy
Dis
t
ribu
t
ed en
g
in
e
:
master
s
end
s
regular stats updates
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-l
o
up Ga
i
lly
D
istri
b
uted engine: slaves keep thinking after
genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-25
Jea
n
-loup Ga
i
lly
Distri
b
uted engine: move time par
s
ing to uct_genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Jean-loup Gaill
y
Dis
t
ributed engine: do not forward t
i
me_
l
eft to slaves
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Je
a
n
-loup Gailly
Set RUL
E
S_CHINESE
as defau
l
t
.
commit
|
commitdiff
|
tree
2010-03-18
Jean-
l
oup
Gailly
Merge branch 'master' int
o
derm
commit
|
commitdiff
|
tree
2010-03-18
Jean-
l
oup Gailly
D
i
stributed engin
e
:
unblock m
a
in thread after a sl
a
ve
.
.
.
commit
|
commitdiff
|
tree
2010-03-18
Jea
n
-loup Gailly
Limit wo
r
st thinking time
f
o
r su
d
den death
g
ames, to
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
Jean-loup
Gailly
Distribu
t
ed engine: a
v
oid infini
t
e loop resendin
g
command
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
Jean-loup
G
a
i
l
ly
Fix the 6
e
c
3
ca4 fix: a l
a
te slav
e
didn't g
e
t correct
.
.
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-
l
oup Gai
l
ly
S
u
p
port the "kgs-rules
"
gtp command
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup G
a
illy
dist
r
ibuted
.
c
:
make g
l
obal variables static
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup
G
ailly
Distributed engine: slaves send temporary
r
e
plies contin
u
o
usly
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-lo
u
p
Gailly
zzgo: al
w
ays
r
e
set the defaul
t
time for a new ga
m
e
.
commit
|
commitdiff
|
tree
2010-03-11
Je
a
n-loup
G
ailly
get_r
e
plies: av
o
id uninitialized
v
ariable "now"
.
commit
|
commitdiff
|
tree
2010-03-11
J
ean-l
o
up Ga
i
lly
Distributed mast
e
r sends
ti
m
e
info to slav
e
s
in genm
o
ves
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
J
e
an-loup Gailly
gtp
.
c
:
avoid com
p
ilation warning fo
r
sleep(
)
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
D
i
s
p
l
ay the owner
m
ap al
s
o
for the distributed
s
lave
.
commit
|
commitdiff
|
tree
2010-03-10
Jean
-
loup Gailly
board_print_
c
ustom: con
s
truct a string a
n
d print it
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
Merge
b
ranc
h
'time' into der
m
commit
|
commitdiff
|
tree
2010-03-10
Jean
-
loup Gailly
D
o
n
ot
w
aste tim
e
if we are winni
n
g
.
Spend up to wor
s
t
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-
l
ou
p
Gailly
Always u
s
e at
least half the desi
r
ed time
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gaill
y
Increase MIN_MOV
E
S_LEFT fro
m
10 to 30 to give much
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup
G
a
i
ll
y
Dist
r
ibuted slave: do
n
ot
cl
e
ar the tr
e
e
b
efore move
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
J
ean-loup Gailly
Distribut
e
d eng
i
ne: log n
u
m
ber of replies an
d
thr
e
ads
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup G
a
illy
Fix final_statu
s
_list
argument
(
a
gain)
.
commit
|
commitdiff
|
tree
2010-03-09
Je
a
n-loup G
a
illy
Send genmove and final_st
a
tus_list in
the dedicated
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
J
ean
-
loup Gail
l
y
Fix c
o
mments ab
o
ut comma
n
d
h
ist
o
ry
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-loup Gailly
D
istributed
e
n
gine: resen
d
only p
a
rtial command h
i
st
o
ry
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean
-
loup
Gailly
Merg
e
branch 'master' in
t
o
derm
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup G
a
il
l
y
dist
r
ibuted engi
n
e: add deb
u
g i
n
fo when n
o
t get
t
ing
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-lou
p
G
a
illy
Support the kgs-ga
m
e_o
v
er c
o
mmand
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup G
a
i
l
ly
If slave
h
a
s
never seen boardsize o
r
clear_boar
d
,
a
sk
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-l
o
up
G
ailly
Merge branch 'master' into derm
commit
|
commitdiff
|
tree
2010-03-08
Jean-lo
u
p Gailly
Se
t
board->size even if BOARD_SIZE
is
d
efined, for
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-l
o
u
p Ga
i
lly
Me
r
ge
b
r
an
c
h 'ma
s
ter' into derm
commit
|
commitdiff
|
tree
2010-03-08
Jean
-
loup Gailly
distributed_notify: fi
n
al_stat
u
s_l
i
st needs an argument
.
commit
|
commitdiff
|
tree
2010-03-08
Jean
-
lou
p
Gailly
S
u
p
port absolute n
u
mber of games for
dis
t
ributed engine
.
commit
|
commitdiff
|
tree
2010-03-07
Je
a
n
-
loup
G
ail
l
y
S
lav
e
t
h
r
e
a
d: ch
e
c
k for u
p
d
a
t
ed comm
a
nd befo
r
e repl
y
ing
.
commit
|
commitdiff
|
tree
2010-03-07
Jea
n
-
l
oup Gailly
distributed engin
e
: do not resend
h
i
st
o
ry c
o
ntinously
.
commit
|
commitdiff
|
tree
2010-03-07
J
ean-loup Gaill
y
gtp_parse: do not
e
xecute comm
a
nds th
a
t the engine
.
.
.
commit
|
commitdiff
|
tree
next