Try OpenEdge Now
skip to main content
Programming Interfaces
HLC Library Function Reference : Function reference : prosleep( ) - Sleep For Specified Interval
 

prosleep( ) - Sleep For Specified Interval

The prosleep( ) function causes your application to suspend execution for a specified time interval. Use prosleep( ) only in special circumstances; signals and interrupts do not interrupt this function:

Syntax

void
prosleep ( seconds )
int seconds;
seconds
This input parameter specifies the number of seconds to suspend execution.
See Also:
prockint( ) - Test for Interrupt Key, procncel( ) - Cancel Interval Timer, proevt( ) - Set Interval Timer, prowait( ) - Wait For Timer To Expire