Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: fen parser

Author: Dieter Buerssner

Date: 10:08:36 11/16/03

Go up one level in this thread


On November 16, 2003 at 12:51:11, Russell Reagan wrote:

>What language are you using? I assume it's either C or C++ from your mention of
>strtok(). If so, you don't have to use either of those if you don't want. I
>don't.

Russel, you probably missed the point. strok() (perhaps the only function in the
Standard C library) will not be thread safe. Repeated calls to strok must
remember the state somehow. So when different threads use this function, there
will be problems.

Regards,
Dieter



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.