.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_pause_event_queue" "3" "" "Allegro reference manual" .SH NAME al_pause_event_queue \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] void al_pause_event_queue(ALLEGRO_EVENT_QUEUE *queue, bool pause) .EE .SH DESCRIPTION Pause or resume accepting new events into the event queue (to resume, pass false for \f[CR]pause\f[R]). Events already in the queue are unaffected. .PP While a queue is paused, any events which would be entered into the queue are simply ignored. This is an alternative to unregistering then re\-registering all event sources from the event queue, if you just need to prevent events piling up in the queue for a while. .SH SEE ALSO al_is_event_queue_paused(3) .SH SINCE 5.1.0