Computer Chess Club Archives


Search

Terms

Messages

Subject: Portable multithreading

Author: Russell Reagan

Date: 08:58:36 04/10/02


I'd like to write my program in portable C, so that I can test it out on my
Windows machine as well as Unix/Linux. I've heard people suggest pthreads and I
believe ACE is another that comes to mind.

What is the best approach to implementing threads into a program in a portable
way? Are any of the portable thread libraries any better than the rest?

Initially I'm just using a seperate thread for input to simplify polling for
input from console and winboard, but I would eventually (a long way off) like to
implement some multiprocessor support, so I will need a poartbable threading
method eventually, and I might as well implement it from the beginning.

All advice is welcomed.

Russell



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.