summaryrefslogtreecommitdiff
path: root/Userland/Shell/Tests
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-04 18:01:01 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-04 18:56:08 +0200
commite8579ed24a00e95deabbcfe3486d73ca541bc68c (patch)
tree39705174be706443308ee759420e3511b3f7b913 /Userland/Shell/Tests
parentd114ba4c4e52d52755ad8b874e3ab4ec67b794e7 (diff)
downloadserenity-e8579ed24a00e95deabbcfe3486d73ca541bc68c.zip
LibThreading: Wake up the background worker thread when there's work
The worker thread used for BackgroundAction was going to sleep for 1 second at a time (when there was nothing to do.) This made using background actions for anything interactive quite unresponsive since you had to wait up to 1 second before it even started on your task. We now use a simple Unix pipe to signal the worker thread that a new work item is available. This makes Assistant way more responsive when typing. :^)
Diffstat (limited to 'Userland/Shell/Tests')
0 files changed, 0 insertions, 0 deletions