how to assign to shared obj.systime?

Dominikus Dittes Scherkl dominikus at
Tue Jul 14 08:45:56 UTC 2020

On Tuesday, 14 July 2020 at 07:05:43 UTC, Arafel wrote:
> *However*, for this to work, you shouldn't use `shared` member 
> variables unless absolutely necessary, much less whole `shared` 
> classes/structs

This is generally true. Avoid sharing many variables!
Tasks should be as independent from each other as possible. 
Anything else is bad design doomed to run into problems sooner or 
Also there is really almost never a good reason to share whole 
classes or nested structures.

More information about the Digitalmars-d-learn mailing list