mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-21 19:02:38 +02:00
kern: adjust wording to be more technically correct
This commit is contained in:
parent
1afb184c14
commit
e9b28ab4b1
@ -79,7 +79,7 @@ namespace ams::kern {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ALWAYS_INLINE bool Close() {
|
ALWAYS_INLINE bool Close() {
|
||||||
/* Atomically decrement the reference count, not allowing it to become negative. */
|
/* Atomically decrement the reference count, not allowing it to decrement past zero. */
|
||||||
u32 cur = m_value.Load<std::memory_order_relaxed>();
|
u32 cur = m_value.Load<std::memory_order_relaxed>();
|
||||||
do {
|
do {
|
||||||
MESOSPHERE_ABORT_UNLESS(cur > 0);
|
MESOSPHERE_ABORT_UNLESS(cur > 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user