Computer Chess Club Archives


Search

Terms

Messages

Subject: multi-file polling on Windows (OT)

Author: Fabien Letouzey

Date: 03:04:18 04/07/04



Hello,

How does one poll several files (of any type) at the same time,
without multithreading?  In other words, how to simulate the behaviour
of POSIX select()?

Note that this is for an adapter, not an engine.  Engines need to poll
only from stdin, which is a much simpler problem.

I get the idea that using threads is the recommended way for Windows,
but is there any other?

Fabien.




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.