1d_yield_proc(3) Allegro manual d_yield_proc(3)
2
3
4
6 d_yield_proc - Invisible dialog procedure that yields CPU time slices.
7 Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 int d_yield_proc(int msg, DIALOG *d, int c);
14
16 An invisible helper object that yields time slices for the scheduler
17 (if the system supports it) when the GUI has nothing to do but waiting
18 for user actions. You should put one instance of this object in each
19 dialog array because it may be needed on systems with an unusual sched‐
20 uling algorithm (for instance QNX) in order to make the GUI fully
21 responsive.
22
23
25 rest(3), exgui(3)
26
27
28
29Allegro version 4.4.3 d_yield_proc(3)