Author: Robert Hyatt
Date: 09:41:30 02/18/06
Go up one level in this thread
On February 17, 2006 at 17:55:09, Charles Roberson wrote: > > > This should have been simple but none of my references panned out. > Seems the standard sleep function in C uses seconds. I want one that > pauses the current thread for M milliseconds. > > Does anyone have such a solution? In unix, use "select()" with a time-out value that can be expreseed in milliseconds. Although I'm not sure why you would want to sleep for some specific amount of time in a chess engine...
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.