[dmd-concurrency] draft 8: the final countdown

Igor Lesik curoles at yahoo.com
Fri Feb 12 12:55:34 PST 2010


2.13
// C++ version of an interlocked bank account
class BankAccound {

Usage of "auto" in the "C++" code example looks confusing at least; strictly speaking "auto lock =" actually means that lock has type int.


      


More information about the dmd-concurrency mailing list