pub fn allocator(self: *FixedBufferAllocator) Allocator
Using this at the same time as the interface returned by threadSafeAllocator is not thread safe.
threadSafeAllocator
self: *FixedBufferAllocator
19 20 21 22 23 24 25 26 27 28 29
pub fn allocator(self: *FixedBufferAllocator) Allocator { return .{ .ptr = self, .vtable = &.{ .alloc = alloc, .resize = resize, .remap = remap, .free = free, }, }; }
Using this at the same time as the interface returned by
threadSafeAllocatoris not thread safe.