On 28/05/2024 12:36 PM, Andy Valencia wrote:
On Monday, 27 May 2024 at 04:04:03 UTC, mw wrote:
Pls NOTE: it is
a `sharded` (meaning trunk-ed) NON-concurrent map,
not `shared` concurrent map.
Assuming I put it in shared memory, in what way is it not able to be
used concurrently? It seems to have the needed lock operations?
Thanks,
Andy
A concurrent data structure handles all of this for you.
AA's are not concurrent because it doesn't offer any protection.
Protecting a data structure with a mutex doesn't make it concurrent, but
it may allow you to use it concurrently safely. Subtle difference!