mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:37:35 +00:00
Userland: Rename LibThread => LibThreading
Also rename the "LibThread" namespace to "Threading"
This commit is contained in:
parent
5729b4e9a5
commit
b5d73c834f
25 changed files with 69 additions and 69 deletions
|
@ -10,4 +10,4 @@ set(SOURCES
|
|||
)
|
||||
|
||||
serenity_bin(AudioServer)
|
||||
target_link_libraries(AudioServer LibCore LibThread LibIPC)
|
||||
target_link_libraries(AudioServer LibCore LibThreading LibIPC)
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace AudioServer {
|
|||
|
||||
Mixer::Mixer()
|
||||
: m_device(Core::File::construct("/dev/audio", this))
|
||||
, m_sound_thread(LibThread::Thread::construct(
|
||||
, m_sound_thread(Threading::Thread::construct(
|
||||
[this] {
|
||||
mix();
|
||||
return 0;
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
#include <AK/WeakPtr.h>
|
||||
#include <LibAudio/Buffer.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibThread/Lock.h>
|
||||
#include <LibThread/Thread.h>
|
||||
#include <LibThreading/Lock.h>
|
||||
#include <LibThreading/Thread.h>
|
||||
|
||||
namespace AudioServer {
|
||||
|
||||
|
@ -112,7 +112,7 @@ private:
|
|||
|
||||
RefPtr<Core::File> m_device;
|
||||
|
||||
NonnullRefPtr<LibThread::Thread> m_sound_thread;
|
||||
NonnullRefPtr<Threading::Thread> m_sound_thread;
|
||||
|
||||
bool m_muted { false };
|
||||
int m_main_volume { 100 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue