hawkw / sharded-slab

a lock-free concurrent slab (experimental)
MIT License
273 stars 19 forks source link

`get_mut` #97

Open nikomatsakis opened 4 months ago

nikomatsakis commented 4 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).