mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 16:44:22 -04:00
kern: KConditionVariable::SignalImpl
This commit is contained in:
parent
7aa3120f60
commit
632a75eee7
4 changed files with 80 additions and 1 deletions
|
@ -239,6 +239,8 @@ namespace ams::kern {
|
|||
|
||||
constexpr ALWAYS_INLINE T *GetPointerUnsafe() { return this->obj; }
|
||||
|
||||
constexpr ALWAYS_INLINE T *ReleasePointerUnsafe() { T *ret = this->obj; this->obj = nullptr; return ret; }
|
||||
|
||||
constexpr ALWAYS_INLINE bool IsNull() const { return this->obj == nullptr; }
|
||||
constexpr ALWAYS_INLINE bool IsNotNull() const { return this->obj != nullptr; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue