Name

sqlite3_sleep() — Sleep the current thread

Definition

int sqlite3_sleep( int milliseconds );
milliseconds

The number of wall-clock milliseconds to sleep. Not all platforms support this time resolution. The number may be rounded up.

Returns

The number of milliseconds actually slept.

Description

This function puts the current thread to sleep for at least the specified number of milliseconds (thousandths of a second). The actual sleep time may be longer, especially on those systems that do not support millisecond process clocks.

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.