🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #2063

sleep() in Windows

#2063
From: Marco Papa
Date: Wed, 29 Nov 1989 05:32
16 lines
988 bytes
Does anybody have a "quick and dirty" UNIX-like sleep() for Windows?
If that is not the case, what would be the best way to do it? I.e.:

1. Using the timer device
2. Using the timer interrupt
3. Using the time() routines of MS-C

Using 1, would allow an implementation that is more "friendly" to other
concurrent tasks.

-- Marco
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
uucp:...!pollux!papa       BIX:papa       ARPAnet:pollux!papa@oberon.usc.edu
"There's Alpha, Beta, Gamma, Diga and Caligari!" -- Rick Unland
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <21446@usc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!usc!pollux.usc.edu!papa

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!usc!pollux.usc.edu!papa
From: papa@pollux.usc.edu (Marco Papa)
Newsgroups: comp.windows.ms
Subject: sleep() in Windows
Message-ID: <21446@usc.edu>
Date: 29 Nov 89 05:32:53 GMT
Sender: news@usc.edu
Reply-To: papa@pollux.usc.edu (Marco Papa)
Organization: Felsina Software, Los Angeles, CA
Lines: 16