Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: basic multithreading question

Author: Daniel Shawul

Date: 01:50:52 11/09/04

Go up one level in this thread


On November 09, 2004 at 02:00:27, Volker Böhm wrote:

>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?
>
>Yes, you can program on a single CPU computer
>
>>
>>  2.if (1) is possible,can i be sure it works on a dual.
>
>No, you can never be sure if not tested on a dual. It may differ in timing
>issues.
>
>>
>>  3.Do i need to write different code for different OS(windows and linux).
>>     Or is it part of the C Language.
>
>Yes definitely. But the difference is very small and can be encapsulate in
>functions.
>
   I just downloaded two tutorials from internet. one is about posix (according
to Russel can be used for Windows and Linux). Another is using windows threading
functions in windows.h. So i guess the first choice is better?
thanks
daniel

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



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.