Getting number of messages in MessageBox

Marek Janukowicz marek at janukowicz.net
Tue Aug 6 00:48:21 PDT 2013


dennis luehring wrote:
> the question is do the published counter then needs locking - and make
> it slow for all - just for beeing getable?

Good point - but I believe the code operating on the counter is synchronized 
already, so synchronized getter would not really slow things down.

-- 
Marek Janukowicz


More information about the Digitalmars-d-learn mailing list