Walter is right about transitive readonly - here's the alternative
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Thu Sep 13 04:23:03 PDT 2007
Janice Caron wrote:
>...
So, does that mean that if I wanted logical constness, but didn't use
multi-threading at all in my classes with logical constness, I would
still have to:
a) write my classes with threading constructs as "shared",
"readable", and "writable", instead of just putting a mutable member?
b) have performance penalties because of mutex locking/unlocking?
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d
mailing list