summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_priority_queue.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* k_priority_queue: Unfold several declval usagesLioncash2021-02-041-5/+5
| | | | | | | | Given these are only used as function existence checks, we can simplify some usages of declval, given they aren't particularly useful here. Reduces a few template instantiations, which at most reduces compile times a tiny bit.
* k_priority_queue: Simplify affinity mask type aliasLioncash2021-02-041-2/+2
| | | | | We can make use of the _t variants of the templates to cut down on a little bit of verbosity.
* k_priority_queue: Resolved reserved identifierLioncash2021-02-041-2/+2
| | | | | | | | | | An identifier containing a starting underscore followed by a capital letter is reserved by the standard. It's trivial to avoid this by moving the underscore to the end of the identifier. While the likelihood of clashing here being minimal, we can turn a "should not break" scenario into a definitive "will not break" one, so why not?.
* core: hle: kernel: Rename Thread to KThread.bunnei2021-01-291-2/+2
|
* common/bit_util: Replace CLZ/CTZ operations with standardized onesLioncash2021-01-151-2/+2
| | | | Makes for less code that we need to maintain.
* k_priority_queue: Fix concepts usecomex2020-12-291-3/+5
| | | | | | | | | | | | - For `std::same_as`, add missing include of `<concepts>`. - For `std::convertible_to`, create a replacement in `common/concepts.h` and use that instead. This would also be found in `<concepts>`, but unlike `std::same_as`, `std::convertible_to` is not yet implemented in libc++, LLVM's STL implementation - not even in master. (In fact, `std::same_as` is the *only* concept currently implemented. For some reason.)
* hle: kernel: KPriorityQueue: Various style fixes based on code review feedback.bunnei2020-12-061-29/+36
|
* hle: kernel: Use C++ style comments in KScheduler, etc.bunnei2020-12-061-32/+31
|
* common: Port KPriorityQueue from Mesosphere.bunnei2020-12-061-0/+443