Thread-safe attribution

Kagamin spam at here.lot
Wed Oct 10 08:57:44 UTC 2018


struct Bob
{
   threadsafe Atomic!(string[string]) y;
}

void f(ref threadsafe Bob b)
{
   string[string] aa=b.y;
   aa["b"]="c";
}

Like this?


More information about the Digitalmars-d mailing list