Salvage
a4369e6175
Remove the lock entirely as per PR discussion
Correctly unlock mutex before its destruction
As per https://en.cppreference.com/w/cpp/thread/mutex/~mutex destroying a locked mutex is undefined behavior and MSVC++ decides to throw in this case
Swap out unique for scoped lock and readd comment
3 years ago
Liam
4a65ee47d3
service_thread: fix uninitialized memory usage
3 years ago
Liam
5a712bb51a
general: fix compile for Apple Clang
3 years ago
Liam
47ce2e44d9
service_thread: remove explicit KProcess
3 years ago
Liam
affd5c32f9
kernel/svc_types: refresh
3 years ago
Liam
c835c254a3
service_thread: register service threads to the logical owner process
3 years ago
Liam
57e5211eb6
k_server_session: add SendReplyHLE
3 years ago
Liam
b5a9e6f989
service_thread: convert to map for session management
3 years ago
Liam
2e56a382a9
kernel: invert session request handling flow
3 years ago
Liam
47fc168030
common: remove "yuzu:" prefix from thread names
3 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
bunnei
8b109f8a69
core: hle: kernel: Allocate dummy threads on host thread storage.
- Fixes a crash where on subsequent boots, long-lived host threads would have their dummy threads freed.
4 years ago
bunnei
db3c11506b
hle: kernel: service_thread: Ensure dummy thread is closed & destroyed on thread exit.
4 years ago
bunnei
273223d5f1
hle: kernel: service_thread: Force stop threads on destruction.
4 years ago
bunnei
d17b7268f6
hle: kernel: service_thread: Use std::jthread.
- Fixes a potential deadlock on service thread shutdown.
4 years ago
ameerj
d27abf5546
core: Remove unused includes
4 years ago
bunnei
9d19382daf
hle: kernel: service_thread: Take reference to KServerSession on service request.
5 years ago
bunnei
83b96b7264
hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
5 years ago
bunnei
236149a59b
hle: kernel: service_thread: Make thread naming more consistent.
5 years ago
bunnei
b2ef309edb
hle: kernel: service_thread: Add thread name and take weak_ptr of ServerSession.
5 years ago
bunnei
3d7b4bfa48
hle: kernel: service_thread: Add parameter for thread pool size.
5 years ago
bunnei
56be5d7ba9
core: hle: server_session: Use separate threads for each service connection.
5 years ago