1al_pause_event_queue(3) al_pause_event_queue(3)
2
3
4
6 al_pause_event_queue - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_pause_event_queue(ALLEGRO_EVENT_QUEUE *queue, bool pause)
12
14 Pause or resume accepting new events into the event queue (to resume,
15 pass false for pause). Events already in the queue are unaffected.
16
17 While a queue is paused, any events which would be entered into the
18 queue are simply ignored. This is an alternative to unregistering then
19 re-registering all event sources from the event queue, if you just need
20 to prevent events piling up in the queue for a while.
21
23 al_is_event_queue_paused(3)
24
26 5.1.0
27
28
29
30Allegro reference manual al_pause_event_queue(3)