Improved SegmentedPool with the introduction of handles and alignment (#1)

This commit is contained in:
Jim
2026-03-20 17:33:30 +00:00
parent dfbdf905fe
commit 8bf297a244
15 changed files with 2788 additions and 674 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnmanagedMMU.Allocators;
namespace UnmanagedMMU.Handles
{
internal sealed unsafe class SegmentedMemoryHandle<T> : MemoryHandleBase<T> where T : unmanaged
{
public SegmentedMemoryHandle(void* ptr, nuint byteLength, IUnmanagedMemoryOwner owner) : base(ptr, byteLength, owner)
{
}
protected override void OnDispose()
{
return;
}
}
}