Skip to content

cf_sleep

Category: time
GitHub: cute_time.h


Waits an estimated number of milliseconds before returning.

void cf_sleep(int milliseconds);

Remarks

This function actually sleeps the application. If you want to instead pause updates without locking the entire applcation (so you can e.g. continue rendering and capturing user inputs) use cf_pause_for instead.

cf_get_ticks
cf_get_tick_frequency
cf_pause_for