Computer Chess Club Archives


Search

Terms

Messages

Subject: And now something completely different: Multithreading

Author: Tony Werten

Date: 23:41:28 11/30/03


When my masterthread is spinning, waiting for results from it's workers threads,
how do I keep it from burning CPU time ?

The apifunction sleep() doesn't some threadsafe, suspending the thread and
having it resumed by the worker seems overly complicated. ( Accept maybe if I
can use a callback function )

Any thoughts ?

Tony



This page took 0.01 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.