1al_rest(3)                 Library Functions Manual                 al_rest(3)
2
3
4

NAME

6       al_rest
7

SYNOPSIS

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

DESCRIPTION

14       Waits for the specified number seconds.  This tells the system to pause
15       the current thread for the given amount of time.  With  some  operating
16       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 easier
21       ways to time your program without using up all CPU.
22
23
24
25Allegro reference manual                                            al_rest(3)
Impressum