On Monday, 1 October 2018 at 02:29:40 UTC, Manu wrote:
struct Bob
{
  void setThing() shared;
}

As I understand, `shared` attribution intends to guarantee that I dun
synchronisation internally.
This method is declared shared, so if I have shared instances, I can
call it... because it must handle thread-safety internally.

seems reasonable

https://github.com/dlang/dmd/pull/8782

Reply via email to