Fixed bug in ImageResultFloat
Added scoped to in TKey key
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Misaki.HighPerformance.LowLevel.Buffer;
|
||||
@@ -291,6 +291,8 @@ public unsafe struct FreeList : IDisposable
|
||||
header->magicNumber = 0;
|
||||
}
|
||||
|
||||
// FIX: This may introduce ABA problem. Consider adding a version counter to the free list nodes if this becomes an issue.
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
private readonly void* TryPopFromBucket(int bucketIndex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user