You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yuzu/src/core/hle/kernel
Lioncash baed7e1fba kernel/thread: Make all instance variables private
Many of the member variables of the thread class aren't even used
outside of the class itself, so there's no need to make those variables
public. This change follows in the steps of the previous changes that
made other kernel types' members private.

The main motivation behind this is that the Thread class will likely
change in the future as emulation becomes more accurate, and letting
random bits of the emulator access data members of the Thread class
directly makes it a pain to shuffle around and/or modify internals.
Having all data members public like this also makes it difficult to
reason about certain bits of behavior without first verifying what parts
of the core actually use them.

Everything being public also generally follows the tendency for changes
to be introduced in completely different translation units that would
otherwise be better introduced as an addition to the Thread class'
public interface.
7 years ago
..
address_arbiter.cpp kernel/thread: Make all instance variables private 7 years ago
address_arbiter.h kernel: Remove unnecessary includes 7 years ago
client_port.cpp kernel: Eliminate kernel global state 7 years ago
client_port.h kernel: Eliminate kernel global state 7 years ago
client_session.cpp kernel: Eliminate kernel global state 7 years ago
client_session.h kernel: Eliminate kernel global state 7 years ago
errors.h kernel/svc: Implement svcGetThreadContext() 7 years ago
event.cpp kernel: Eliminate kernel global state 7 years ago
event.h kernel: Eliminate kernel global state 7 years ago
handle_table.cpp Port #4182 from Citra: "Prefix all size_t with std::" 7 years ago
handle_table.h Port #4182 from Citra: "Prefix all size_t with std::" 7 years ago
hle_ipc.cpp kernel/thread: Make all instance variables private 7 years ago
hle_ipc.h Port #4182 from Citra: "Prefix all size_t with std::" 7 years ago
kernel.cpp kernel/thread: Make all instance variables private 7 years ago
kernel.h core: Migrate current_process pointer to the kernel 7 years ago
mutex.cpp kernel/thread: Make all instance variables private 7 years ago
mutex.h kernel: Eliminate kernel global state 7 years ago
object.cpp kernel: Eliminate kernel global state 7 years ago
object.h kernel/object: Remove unnecessary std::move from DynamicObjectCast() 7 years ago
process.cpp kernel/thread: Make all instance variables private 7 years ago
process.h kernel/process: Add a data member to determine if a process is 64-bit or not. 7 years ago
resource_limit.cpp kernel: Eliminate kernel global state 7 years ago
resource_limit.h kernel: Eliminate kernel global state 7 years ago
scheduler.cpp kernel/thread: Make all instance variables private 7 years ago
scheduler.h kernel/scheduler: Take ARM_Interface instance by reference in the constructor 7 years ago
server_port.cpp kernel: Eliminate kernel global state 7 years ago
server_port.h kernel: Eliminate kernel global state 7 years ago
server_session.cpp kernel/thread: Make all instance variables private 7 years ago
server_session.h kernel: Eliminate kernel global state 7 years ago
session.cpp
session.h kernel: Move object class to its own source files 7 years ago
shared_memory.cpp kernel/process: Make data member variables private 7 years ago
shared_memory.h Port #4182 from Citra: "Prefix all size_t with std::" 7 years ago
svc.cpp kernel/thread: Make all instance variables private 7 years ago
svc.h
svc_wrap.h kernel/svc: Implement svcGetThreadContext() 7 years ago
thread.cpp kernel/thread: Make all instance variables private 7 years ago
thread.h kernel/thread: Make all instance variables private 7 years ago
timer.cpp kernel: Eliminate kernel global state 7 years ago
timer.h kernel: Eliminate kernel global state 7 years ago
vm_manager.cpp svc: Report correct memory-related values within some of the cases in svcGetInfo() 7 years ago
vm_manager.h svc: Report correct memory-related values within some of the cases in svcGetInfo() 7 years ago
wait_object.cpp kernel/thread: Make all instance variables private 7 years ago
wait_object.h kernel/object: Remove unnecessary std::move from DynamicObjectCast() 7 years ago