Something needs to happen with shared, and soon.
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Nov 14 18:30:56 PST 2012
On 11/11/12 6:30 PM, Walter Bright wrote:
> 1. ensure single threaded access by aquiring a mutex
> 2. cast away shared
> 3. operate on the data
> 4. cast back to shared
> 5. release the mutex
This is very different from how I view we should do things (and how we
actually agreed to do things and how I wrote in TDPL).
I can't believe I need to restart this on a cold cache.
Andrei
More information about the Digitalmars-d
mailing list