mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:15:09 +00:00
Kernel: Fix a typo and a grammar issue in code comments
This commit is contained in:
parent
09d5360be3
commit
22f7e800d2
2 changed files with 2 additions and 2 deletions
|
@ -1494,7 +1494,7 @@ void Thread::track_lock_release(LockRank rank)
|
|||
// This is validated by toggling the least significant bit of the mask, and
|
||||
// then bit wise or-ing the rank we are trying to release with the resulting
|
||||
// mask. If the rank we are releasing is truly the highest rank then the mask
|
||||
// we get back will be equal to the current mask of stored on the thread.
|
||||
// we get back will be equal to the current mask stored on the thread.
|
||||
auto rank_is_in_order = [](auto mask_enum, auto rank_enum) -> bool {
|
||||
auto mask = to_underlying(mask_enum);
|
||||
auto rank = to_underlying(rank_enum);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue