rest_callback(3alleg4) Allegro manual rest_callback(3alleg4)NAME
rest_callback - Like rest(), but calls the callback during the wait. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void rest_callback(long time, void (*callback)())
DESCRIPTION
Like rest(), but for non-zero values continually calls the specified function while it is waiting for the required time to elapse. If the
provided `callback' parameter is NULL, this function does exactly the same thing as calling rest().
SEE ALSO install_timer(3alleg4), rest(3alleg4)Allegro version 4.4.2 rest_callback(3alleg4)
Check Out this Related Man Page
rest(3alleg4) Allegro manual rest(3alleg4)NAME
rest - Waits a specified number of milliseconds or yields CPU. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void rest(unsigned int time);
DESCRIPTION
This function waits for the specified number of milliseconds.
Passing 0 as parameter will not wait, but just yield. This can be useful in order to "play nice" with other processes. Other values will
cause CPU time to be dropped on most platforms. This will look better to users, and also does things like saving battery power and making
fans less noisy.
Note that calling this inside your active game loop is a bad idea, as you never know when the OS will give you the CPU back, so you could
end up missing the vertical retrace and skipping frames. On the other hand, on multitasking operating systems it is good form to give up
the CPU for a while if you will not be using it.
SEE ALSO install_timer(3alleg4), rest_callback(3alleg4), vsync(3alleg4), d_yield_proc(3alleg4)Allegro version 4.4.2 rest(3alleg4)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)