Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Threads

Author: Dann Corbit

Date: 10:24:27 04/07/99

Go up one level in this thread


On April 07, 1999 at 01:52:06, James Robertson wrote:
[snip]
>Just out of curiosity, how would one port WIn32 stuff to, say, Unix or some
>other system?
A number of different ways.  If you use ACE, then you are done.  It works with
any system.

If you want to use native services, then you:
#ifdef BSD_UNIX
/* code goes here */
#else
#ifdef WIN32
/* code goes here */
...

You could also use POSIX threads, or something of that nature.  I think NT is
supposed to have a POSIX layer you can add, but I will bet it bites the big one.



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.