On 15 November 2012 04:30, Andrei Alexandrescu <SeeWebsiteForEmail@erdani.org> wrote:
On 11/11/12 6:30 PM, Walter Bright wrote: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).
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
I can't believe I need to restart this on a cold cache.