snmalloc icon indicating copy to clipboard operation
snmalloc copied to clipboard

Separate locking from static range

Open mjp41 opened this issue 3 years ago • 1 comments

Pull a part the locking from the static range. This enables locking to be added to a range directly, and does not require it to be made static. This is useful in cases where the source of memory is shared between threads, but not static. I.e. there are multiple instances of the same type.

mjp41 avatar Jun 07 '22 14:06 mjp41

This isn't actually required by the process_sandbox usage. I think it is still nice to pull apart, so I have left the PR up. But it can be dropped.

mjp41 avatar Jun 07 '22 19:06 mjp41