aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_thread.h
AgeCommit message (Collapse)Author
2024-02-14kernel: add and enable system suspend typeLiam
2023-12-22kernel: instantiate memory separately for each guest processLiam
2023-12-07kernel: implement light IPCLiam
2023-12-04core: refactor emulated cpu core activationLiam
2023-11-25arm: Implement native code execution backendLiam
2023-10-21kernel: update KProcessLiam
2023-07-01kernel: SynchronizeMorph
2023-06-22Remove memory allocations in some hot pathsKelebek1
2023-06-17k_thread: Use a mutex and cond_var to sync boollat9nq
std::atomic<bool> is broken on MinGW and causes deadlocks there. Use a normal cond var in its stead.
2023-04-29kernel: remove general boost listsLiam
2023-03-23memory: rename global memory references to application memoryLiam
2023-03-22kernel: use KTypedAddress for addressesLiam
2023-03-12kernel: convert KThread to new styleLiam
2023-03-12kernel: remove kernel_Liam
2023-03-12kernel: convert KPort, KSessionLiam
2023-03-07kernel: clone fpu status on CreateThreadLiam
2023-03-01kernel: be more careful about kernel address keysLiam
2023-03-01kernel: refactor priority inheritance to represent locks as C++ objectsLiam
2023-02-21service: refactor server architectureLiam
Converts services to have their own processes
2023-02-13kernel: use GetCurrentProcessLiam
2023-01-29Move to Clang Format 15Levi Behunin
Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
2023-01-23kernel: split SetAddressKey into user and kernel variantsLiam
2023-01-23kernel: fix incorrect locking order in suspensionLiam
2022-12-18kernel: remove TimeManagerLiam
2022-12-18kernel: add KHardwareTimerLiam
2022-12-05kernel/thread: Ensure stack_top and argument are always initializedLioncash
2022-11-04service_thread: register service threads to the logical owner processLiam
2022-10-24kernel: refactor dummy thread wakeupsLiam
2022-10-18core: hle: kernel: k_thread: Implement thread termination DPC.bunnei
2022-07-14kernel: fix single-core preemption pointsLiam
2022-07-14kernel: fix issues with single core modeLiam
2022-07-14kernel: use KScheduler from mesosphereLiam
2022-07-02common/fiber: make fibers easier to useLiam
2022-06-26core: Replace all instances of ResultCode with Resultgerman77
2022-06-23kernel: make current thread pointer thread localLiam
2022-06-18kernel: wait for threads to stop on pauseLiam
2022-06-01core/debugger: Support reading guest thread namesLiam
2022-06-01core/debugger: Improved stepping mechanism and misc fixesLiam
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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.
2022-04-11core: hle: kernel: k_thread: Rework dummy thread waiting.bunnei
2022-04-11hle: kernel: Use std::mutex instead of spin locks for most kernel locking.bunnei
2022-04-03k_thread: Fix data racelat9nq
TSan reports a data race between writing at cpp:1162 and reading at h:262. Make the thread_state atomic to prevent this.
2022-03-14core: hle: kernel: k_thread: Update to reflect tree changes.bunnei
2022-01-21hle: kernel: KThread: Ensure host (dummy) threads block on locking.bunnei
- But do not enter the priority queue, as otherwise they will be scheduled. - Allows dummy threads to use guest synchronization primitives.
2022-01-20hle: kernel: KThread: Decrease DummyThread priority to ensure it is never ↵bunnei
scheduled.
2022-01-20hle: kernel: KThread: Rename thread_type_for_debugging -> thread_type.bunnei
- This will be used to ensure that we do not schedule dummy threads.
2022-01-14core: hle: kernel: KThread: Integrate with KWorkerTask and implement ↵bunnei
DoWorkerTaskImpl. - This is used to terminate a thread asynchronously after it has been exited. - This fixes a crash that can occur in Pokemon Sword/Shield because a thread is incorrectly closed on svcExitThread, then, the thread is destroyed on svcCloseHandle while it is still scheduled. - Instead, we now wait for the thread to no longer be scheduled on all cores before destroying it from KWorkerTaskManager, which is accurate to HOS behavior.
2022-01-14core: hle: kernel: KThread: Replace Suspend with UpdateState & various updates.bunnei
- This makes our implementations of these more closely match HOS.
2021-12-30core: hle: kernel: Implement thread pinning.bunnei
- We largely had the mechanics in place for thread pinning, this change hooks these up. - Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_thread_pinning.cpp.
2021-12-06hle: kernel: k_thread: Rename sleeping_queue -> wait_queue.bunnei