Prime sieve language race

ag0aep6g anonymous at
Wed Jul 14 20:45:05 UTC 2021

On Wednesday, 14 July 2021 at 19:10:55 UTC, Sebastiaan Koppe 
> Because member functions are harder to call from multiple 
> threads than static functions are. For one, you will have to 
> get the object on two threads first. Most functions that do 
> that require a shared object, which requires a diligent 
> programmer to do the casting.

The object isn't necessarily the thing that is being shared. A 
method can be accessing some `__gshared` global just like a 
static function can.

More information about the Digitalmars-d mailing list