Hi all,
I have recently redesigned LittleThought to be multithreaded. I use the main thread to wait for I/O (with fgets) and other threads for searching. It seems to work fine under Arena and it works fine for me with Polyglot/Winboard using WinXP, but It doesn't work properly with Polyglot/Winboard using Win2K for Leo in his testing.
What happens is that when Polyglot sends a command, LT doesn't seem to see it for anywhere between 2 and 15 secs afterwards causing it to always lose on time.
I have disabled buffering on stdin and stdout and have looked at other source samples (eg glaurung) and can't see what I'm doing wrong. Has anyone else had this problem and could give me some pointers?
Thanks,
- Nathan