1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 13:52:21 +00:00

kern: adjust wording to be more technically correct

This commit is contained in:
Michael Scire 2023-03-27 10:54:58 -07:00
parent 1afb184c14
commit e9b28ab4b1

View file

@ -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);