chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] (file-select ...) and compiler warnings


From: John Cowan
Subject: Re: [Chicken-users] (file-select ...) and compiler warnings
Date: Mon, 18 Feb 2013 13:14:19 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

Felix scripsit:

> I think usleep(3) is not available on Windows. There is probably a win32
> equivalent, though.

The Woe32 version is Sleep(), which accepts an argument in milliseconds,
and puts the current Windows thread to sleep.  However, the default
resolution is 10-15 ms.  If you want to change this, you have to call
timeBeginPeriod(1) at the beginning of the application and timeEndPeriod(1)
at the end.

-- 
So they play that [tune] on                     John Cowan
their fascist banjos, eh?                       address@hidden
        --Great-Souled Sam                      http://www.ccil.org/~cowan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]