projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bc6da6f
)
Fix double unlock of mutex in CECP implementation
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Fri, 24 Apr 2020 07:24:43 +0000 (09:24 +0200)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Fri, 24 Apr 2020 07:24:43 +0000 (09:24 +0200)
Closes #111.
src/xboard.cpp
patch
|
blob
|
history
diff --git
a/src/xboard.cpp
b/src/xboard.cpp
index
f540571
..
bcf4c00
100644
(file)
--- a/
src/xboard.cpp
+++ b/
src/xboard.cpp
@@
-110,8
+110,8
@@
void StateMachine::process_command(Position& pos, std::string token, std::istrin
vars += "," + v;
sync_cout << "feature setboard=1 usermove=1 time=1 memory=1 smp=1 colors=0 draw=0 name=0 sigint=0 ping=1 myname=Fairy-Stockfish variants=\""
<< vars << "\""
- << Options << sync_endl
- << "feature done=1" << sync_endl;
+ << Options << sync_endl;
+ sync_cout << "feature done=1" << sync_endl;
}
else if (token == "accepted" || token == "rejected" || token == "result" || token == "?") {}
else if (token == "ping")