Lioncash
f94bf1a29f
core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrs
7 years ago
Lioncash
16a332fee0
core: Make the exclusive monitor a unique_ptr instead of a shared_ptr
Like the barrier, this is owned entirely by the System and will always
outlive the encompassing state, so shared ownership semantics aren't
necessary here.
7 years ago
Lioncash
0575e2639a
core: Make CPUBarrier a unique_ptr instead of a shared_ptr
This will always outlive the Cpu instances, since it's destroyed after
we destroy the Cpu instances on shutdown, so there's no need for shared
ownership semantics here.
7 years ago
Lioncash
cf3e25a3c6
core_cpu: Make arm_interface instances a std::unique_ptr
This is only exposed by reference, so we can just make it a unique
pointer to get rid of the need to also use reference counting for the
pointer.
7 years ago
Lioncash
0de8f10b34
core/core_cpu: Replace exclusive monitor include with forward declaration
We don't need to include this as a dependency within the header. A
regular forward declaration will suffice here.
7 years ago
fearlessTobi
1190ea6ddb
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
Lioncash
e46ac56321
core: Namespace all code in the arm subdirectory under the Core namespace
Gets all of these types and interfaces out of the global namespace.
7 years ago
Subv
42d6bbcb7c
Core/HLE: Make the 'reschedule_pending' flag atomic.
Another thread may write to this variable while the core in question is in the middle of checking for a reschedule request.
7 years ago
MerryMage
34bf2dbf68
Implement exclusive monitor
8 years ago
bunnei
6eacbd693d
core: Support session close with multicore.
8 years ago
bunnei
44c565aeca
core: Implement multicore support.
8 years ago
bunnei
fc8b0d9d2b
core: Create a thread for each CPU core, keep in lock-step with a barrier.
8 years ago
bunnei
0867e78c8a
core: Move common CPU core things to its own class.
8 years ago