APIs, concepts, guides, and more

◆ Sleep()

void Sleep ( int32_t milliseconds)
Description:
Sleep puts the current thread to sleep.
Parameters
millisecondsThe number of milliseconds the thread should sleep.
Sample Code:
// put this thread to sleep for some milliseconds
controller->OS->Sleep(SLEEP_MILLISECONDS);
RapidCodeOS * OS
Provides access to operating system (Windows) features.
Definition rsi.h:3664
void Sleep(int32_t milliseconds)
Put the current thread to sleep.
Examples
RecordPerformance.cpp, Recorder.cs, and UserLimitDigitalInputAction.cpp.