The function
process-all-events
processes all the events in the mailbox of the current process, by calling general-handle-event on each one of them.
process-all-events
returns a boolean indicating whether it processed any event.
LispWorks User Guide and Reference Manual - 21 Dec 2011