Supported Browsers Home   
PM_backslash Previous   
PM_callRealMode Next   
External Functions Up   

PM_blockUntilTimeout

Block until a specific time has elapsed since the last call

Declaration

void PMAPI PM_blockUntilTimeout(
    ulong milliseconds)

Prototype In

pmapi.h

Parameters

milliseconds

Number of milliseconds for delay

 

Description

This function will block the calling thread or process until the specified number of milliseconds have passed since the last call to this function. The first time this function is called, it will return immediately. On subsquent calls it will block until the specified time has elapsed, or it will return immediately if the time has already elapsed.

This function is useful to provide constant time functionality in a program, such as a frame rate limiter for graphics applications etc.

See Also

PM_sleep

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com