summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-16 22:02:53 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-16 22:06:33 +0200
commitc3379e3734cf3557f2251985e06c5707bcec6ade (patch)
tree02d009af67aca38adc1c8d30572c3b555ef9cc1b /Base
parentb19367096780194a6941563c60954cadd9c8b4c9 (diff)
downloadserenity-c3379e3734cf3557f2251985e06c5707bcec6ade.zip
LibCore: Always wait_for_events() when pumping the event loop
This fixes an issue where continuously posting new events to the queue would keep the event loop saturated, causing it to ignore notifiers. Since notifiers are part of the big select(), we always have to call wait_for_events() even if there are pending events. We're already smart enough to select() without a timeout if we already have pending events.
Diffstat (limited to 'Base')
0 files changed, 0 insertions, 0 deletions