Author: Miguel A. Ballicora
Date: 09:55:58 12/28/01
Go up one level in this thread
On December 27, 2001 at 17:36:51, Russell Reagan wrote: >On December 27, 2001 at 15:31:55, Miguel A. Ballicora wrote: > >>What do you mean exactly by multithreaded approach? >>1) a program with two threads, one is the interface and the other is the engine >>2) a program that has more than one "searching thread" (Like the >>"Deep" programs). >> >>Miguel > >I had a little of both in mind. Then I suggest to focus on 1 first. I have been in your exact situation 5-6 months ago, knowing nothing about multithreading (I still know nothing! :-)). The most important part is to come up with a good design, so if my short experience taught me something useful, it's this: use a lot of paper and pencil before using the keyboard. Once I did a lot of thinking, drafts, checking what variables I would use, what functions etc. writing the code was really a piece of cake. I did not have to use any critical section or anything. Communicating through global volatile integers is enough. I am very happy about my interface now. All this helped me to understand clearly all the issues I will have to face for step 2, if I decide to do it. Regards, Miguel
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.