mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 00:41:00 +00:00
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. :^) |
||
|---|---|---|
| .. | ||
| BackgroundAction.cpp | ||
| BackgroundAction.h | ||
| CMakeLists.txt | ||
| Lock.h | ||
| Thread.cpp | ||
| Thread.h | ||