Page 1 of 1

Where do you upload hash tables, opening book and bitbases?

PostPosted: 21 Oct 2008, 22:25
by Pedro Castro
which is the right place?

1. In the main() function when the program starts we can start the hash tables, opening book and bitbases. May happen that xboard no gives time to start all?

2. When starts xboard() we send done = 0 and then upload hash tables, opening book and bitbases, then we send done = 1.

Re: Where do you upload hash tables, opening book and bitbas

PostPosted: 22 Oct 2008, 05:36
by Ron Murawski
Pedro Castro wrote:which is the right place?

1. In the main() function when the program starts we can start the hash tables, opening book and bitbases. May happen that xboard no gives time to start all?

2. When starts xboard() we send done = 0 and then upload hash tables, opening book and bitbases, then we send done = 1.


Hi Pedro,

I do all initializations in main() before communicating with Winboard. I don't know if this is "right" any more because Winboard is starting to support some of these features.

Ron