Timer_Sleep()

Examples


The Timer_Sleep() function causes the application to wait for the specified period of time.

Syntax

Timer_Sleep(duration)

Parameters

duration A long integer specifying the number of milliseconds to have the application wait. This is the minimum amount of time the application will wait. Depending on the other processes running on the system, the actual waiting time may be somewhat longer.

Return value

A long integer containing the number of milliseconds the application was told to wait.

Comments

The Timer_Sleep() function is used to add delays to an application, such as when deadlock exceptions are being handled for transactions.


Documentation Feedback