1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00

Revert "Don't sync with C library I/O buffers"

It seems is the cause of strange and rare hangs
reported by some users where Stockfish stops
responding to GUI. It is not clear why but for
the moment revert the patch.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2012-03-25 10:23:16 +01:00
parent 11b0c7b44a
commit 8ec421fa14

View file

@ -35,11 +35,6 @@ extern void kpk_bitbase_init();
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
// Don't sync with C library I/O buffers, faster but now using printf()
// or scanf() could yield to issues because buffers are independent.
cout.sync_with_stdio(false);
cin.sync_with_stdio(false);
cout << engine_info() << endl; cout << engine_info() << endl;
bitboards_init(); bitboards_init();