summaryrefslogtreecommitdiff
path: root/Libraries/LibThread/BackgroundAction.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2019-08-25 23:51:27 +0300
committerAndreas Kling <awesomekling@gmail.com>2019-08-26 11:31:14 +0200
commit3439a479afbb13f28a436b472e150a71c5b3b6ce (patch)
tree7efa15248b8a2108e67590ab70d1bc582306efcb /Libraries/LibThread/BackgroundAction.h
parent0826cc5a356382b168e6e95077d53e27ccae48eb (diff)
downloadserenity-3439a479afbb13f28a436b472e150a71c5b3b6ce.zip
LibThread: Move CLock to LibThread::Lock
And adapt all the code that uses it.
Diffstat (limited to 'Libraries/LibThread/BackgroundAction.h')
-rw-r--r--Libraries/LibThread/BackgroundAction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibThread/BackgroundAction.h b/Libraries/LibThread/BackgroundAction.h
index 965ec7b0bf..67f5d99f4b 100644
--- a/Libraries/LibThread/BackgroundAction.h
+++ b/Libraries/LibThread/BackgroundAction.h
@@ -6,8 +6,8 @@
#include <AK/Queue.h>
#include <AK/RefCounted.h>
#include <LibCore/CEventLoop.h>
-#include <LibCore/CLock.h>
#include <LibCore/CObject.h>
+#include <LibThread/Lock.h>
#include <LibThread/Thread.h>
namespace LibThread {
@@ -22,7 +22,7 @@ class BackgroundActionBase {
private:
BackgroundActionBase() {}
- static CLockable<Queue<Function<void()>>>& all_actions();
+ static Lockable<Queue<Function<void()>>>& all_actions();
static Thread& background_thread();
};