1al_rest(3)                                                          al_rest(3)
2
3
4

NAME

6       al_rest - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_rest(double seconds)
12

DESCRIPTION

14       Waits  for  the  specified number of seconds.  This tells the system to
15       pause the current thread for the given amount of time.  With some oper‐
16       ating systems, the accuracy can be in the order of 10ms.  That is, even
17
18              al_rest(0.000001)
19
20       might  pause  for  something  like 10ms.  Also see the section on Timer
21       routines for easier ways to time your program without using up all CPU.
22
23
24
25Allegro reference manual                                            al_rest(3)
Impressum