hawkw / sharded-slab

a lock-free concurrent slab (experimental)
MIT License
269 stars 17 forks source link

`get_mut` #97

Open nikomatsakis opened 2 months ago

nikomatsakis commented 2 months ago

It'd be useful to support a get_mut(&mut self) -> &mut style operation, for cases where you have "parallel periods" (using &-self) alternating with sequential periods (using &mut).