Hi,
I try to interact with the fritz gui and have a problem left:
The fritz gui shows the "thinking" (pv, nodes, nodes/s, ...) of spike many seconds too late. In Blitz it does not show any thinking at all.
I have the "thread" soloution of input/output handling. Thus one thread that waits for input and an other thread that searches and writes the output. It seems that non thread programs don?t have this problem (example fruit 1.5).
I don?t have any problems with arena. It is not a "flush buffer problem", I have set the buffer to 0. I tried "WriteFile", puts, fprintf, printf for output, none solved the problem.
The following "work-arounds" works. I don?t like these work-arounds:
1. Giving the search-thread a lower priority.
2. Writing much more info-strings. If I write an info string every 10 milliseconds, it will show its thinking approximately every 2 seconds.
3. Doing a Sleep(10) after each output.
Any idears how to fix this problem?
Tanks! Volker