summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_scheduler.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: hle: kernel: Ensure idle threads are closed before destroying scheduler.bunnei2021-12-071-0/+2
|
* SVC: Implement svcInfo:IdleTickCountFernando Sahmkow2021-10-161-0/+5
| | | | Used by the Witcher 3
* general: Update style to clang-format-12ameerj2021-09-241-1/+1
|
* Revert "kernel: Various improvements to scheduler"bunnei2021-08-261-2/+0
|
* core: hle: kernel: Ensure idle threads are closed before destroying scheduler.bunnei2021-08-071-0/+2
|
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-1/+1
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* kernel: Eliminate variable shadowingLioncash2021-05-081-1/+1
| | | | | Now that the large kernel refactor is merged, we can eliminate the remaining variable shadowing cases.
* fixup! hle: kernel: Rename Process to KProcess.bunnei2021-05-061-1/+1
|
* hle: kernel: Rename Process to KProcess.bunnei2021-05-061-3/+3
|
* hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps.bunnei2021-05-061-2/+2
|
* hle: kernel: Migrate idle threads.bunnei2021-05-061-3/+3
|
* Merge pull request #6099 from bunnei/derive-membunnei2021-04-101-5/+2
|\ | | | | Kernel Rework: Derive memory regions from board layout.
| * hle: kernel: Migrate some code from Common::SpinLock to KSpinLock.bunnei2021-03-211-5/+2
| |
* | Amend bizarre clang-format suggestionsLioncash2021-04-071-1/+1
| |
* | k_scheduler: Mark KScopedSchedulerLock as [[nodiscard]]Lioncash2021-04-071-1/+1
|/ | | | | | | | | | | | Prevents logic bugs like: KScopedSchedulerLock{kernel}; instead of: KScopedSchedulerLock lk{kernel}; from slipping through.
* Revert "core: Switch to unique_ptr for usage of Common::Fiber."bunnei2021-03-061-5/+5
|
* core: Switch to unique_ptr for usage of Common::Fiber.bunnei2021-02-271-5/+5
| | | | | - With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context. - Fixes a memory leak due to circular reference of the shared pointer.
* hle: kernel: Allocate a dummy KThread for each host thread, and use it for scheduling.bunnei2021-01-291-2/+2
|
* hle: kernel: k_scheduler: Use atomics for current_thread, etc.bunnei2021-01-291-3/+4
|
* hle: kernel: Recode implementation of KThread to be more accurate.bunnei2021-01-291-9/+15
|
* core: hle: kernel: Rename Thread to KThread.bunnei2021-01-291-12/+12
|
* hle: kernel: k_scheduler: Cleanup OnThreadPriorityChanged.bunnei2021-01-111-2/+1
|
* hle: kernel: thread: Replace ThreadStatus/ThreadSchedStatus with a single ThreadState.bunnei2021-01-111-2/+2
| | | | - This is how the real kernel works, and is more accurate and simpler.
* hle: kernel: KScheduler: Various style fixes based on code review feedback.bunnei2020-12-061-28/+21
|
* hle: kernel: Migrate to KScopedSchedulerLock.bunnei2020-12-061-6/+4
|
* hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.bunnei2020-12-061-19/+0
|
* hle: kernel: Separate KScheduler from GlobalSchedulerContext class.bunnei2020-12-061-71/+3
|
* hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei2020-12-061-0/+297