rphmeier/allocators

Add a flavor to the current pointer to allow atomic, thread-safe ops

Closed this issue · 1 comments

Add a flavor to the current pointer to allow atomic, thread-safe ops

I think atomic isn't enough. It would have to be wrapped in a mutex that would be locked during the entire duration of the raw_allocate method. At that point, it is just as convenient to wrap the entire allocator in a mutex.