| Age | Commit message (Collapse) | Author |
|
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.
|
|
We can make use of the _t variants of the templates to cut down on a
little bit of verbosity.
|
|
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?.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Matches closer to hardware
|
|
|
|
|
|
|
|
|
|
|
|
|
|
scheduling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
implementation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- This is a workaround that does not belong in a kernel primitive.
|
|
|
|
|
|
Allows us to test whether a buffer can be read from or written to memory
|
|
Makes for less code that we need to maintain.
|
|
- This is decoupled from core functionality and used for debugging only.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ThreadState.
- This is how the real kernel works, and is more accurate and simpler.
|
|
|