Open OHNOalan opened 3 months ago
The queue is modified concurrently - in the case that it is modified during your copy, your copy will likely end up in a state that did not exist or that is invalid.
If you want a copyable queue it will surely need to be locking.
Is there any reason why MPMC is non-copyable and non-movable~ And if I need to use it as a copyable data structure. What should I do~