Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: basic multithreading question

Author: Robert Hyatt

Date: 11:34:25 11/09/04

Go up one level in this thread


On November 09, 2004 at 01:32:53, Daniel Shawul wrote:

>hi
>i don't know anything about multi threading,but i
>have plan to make my engine a parallel searcher.
>few basic questions
>
>  1.Can I program on a single CPU computer?or Do i need at least a dual?

you need a dual for testing, yes.  You can develop on a single-cpu box of
course..

>
>  2.if (1) is possible,can i be sure it works on a dual.


You can't _ever_ be sure it works on a dual.  Parallel programming is not easy,
and not precise, and usually not repeatable for test result comparisons.



>
>  3.Do i need to write different code for different OS(windows and linux).
>     Or is it part of the C Language.

Different code.


>  4. Last but very important, where can i get a good tutorial(basic) on multi-
>  threading in c/c+=, or a good book.
>
>thanks in advance
>daniel


You can find a few good things on the net, such as "Understanding posix threads"



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.