Is there any tutorial on how to use the shared attribute on structs

solidstate1991 laszloszeremi at outlook.com
Sun Aug 17 21:00:32 UTC 2025


I created a nogc array handler struct, and I would like to use it 
as a shared array.

I can only easily find anything related to it for simple built-in 
types, let alone for slices. If at least I could use slices 
directly, it would be a great help (lock write access in a 
`synchronized` scope, then only read from the slice).


More information about the Digitalmars-d-learn mailing list