mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 12:14:24 -04:00
tipc/sm: update more fully for 13.0.0 changes
This commit is contained in:
parent
ca25a884b5
commit
891fa32bf1
10 changed files with 357 additions and 309 deletions
|
@ -44,12 +44,12 @@ namespace ams::tipc {
|
|||
util::TypedStorage<T> storage;
|
||||
};
|
||||
private:
|
||||
os::SdkMutex m_mutex;
|
||||
Entry m_entries[N];
|
||||
os::SdkMutex m_mutex;
|
||||
public:
|
||||
constexpr ALWAYS_INLINE SlabAllocator() : m_entries() { /* ... */ }
|
||||
constexpr ALWAYS_INLINE SlabAllocator() : m_entries(), m_mutex() { /* ... */ }
|
||||
|
||||
ServiceObjectBase *Allocate() {
|
||||
T *Allocate() {
|
||||
std::scoped_lock lk(m_mutex);
|
||||
|
||||
for (size_t i = 0; i < N; ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue