| Age | Commit message (Collapse) | Author |
|
Allows for more descriptive error messages and also doesn't hide
control-path exit returns from the reader.
|
|
This is a useful function in a generic context or with types that
overload unary operator&. However, primitives and pointers will never do
this, so we can opt for a more straightforward syntax.
|
|
This code is never used, so we can remove it. It's in version control,
so it can always be brought back when needed.
|
|
Kernel Rework: Refactor KEvent/KReadableEvent/KWritableEvent
|
|
k_priority_queue: Minor cleanup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This can cause compiler warnings. Instead, we can explicitly add a
boolean expression around it to naturally turn the result into a bool.
|
|
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.
|
|
|