1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

WindowServer: Move the CPU usage graph updates to a secondary thread.

This avoids blocking the main thread on filesystem access, which created
noticeable stutters during compilation.
This commit is contained in:
Andreas Kling 2019-03-27 14:56:35 +01:00
parent a2fe5f8517
commit 56f7b392c1
Notes: sideshowbarker 2024-07-19 14:55:32 +09:00
2 changed files with 28 additions and 13 deletions

View file

@ -70,6 +70,8 @@ public:
ConstIterator begin() const { return ConstIterator(*this, m_head); }
ConstIterator end() const { return ConstIterator(*this, size()); }
int head_index() const { return m_head; }
private:
friend class ConstIterator;
T m_elements[Capacity];