🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17534

Re: Sleep, Wait or Pause Function?

#17534
From: Ron Sommer
Date: Thu, 13 Mar 2003 23:52
16 lines
1422 bytes
> Is there a system call to pause a program's execution for a few
> miliseconds.  Something like sleep(500), or wait(500) to make app
> suspend execution for 500 ms?  I'm using CBuilder 5 Pro.


Strange question. How about Sleep(500):

The Sleep function suspends the execution of the current thread for a 
specified interval.

VOID Sleep(
     DWORD dwMilliseconds 	// sleep time in milliseconds
    );	


Ron Sommer
Technical Details
Message-ID: <3E7119A7.8050905@telekom.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3E711275.6C06527A@sbcglobal.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,748c800882c17b1d
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-13 16:00:54 PST
Message-ID: <3E7119A7.8050905@telekom.de>
Date: Fri, 14 Mar 2003 00:52:07 +0100
From: Ron Sommer <summertime@telekom.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
X-Accept-Language: de-DE
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Sleep, Wait or Pause Function?
References: <3E711275.6C06527A@sbcglobal.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.224.234.136
X-Trace: newsgroups.borland.com 1047599523 217.224.234.136 (13 Mar 2003 15:52:03 -0800)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail