snmalloc
snmalloc copied to clipboard
Separate locking from static range
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.
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.