Just Software Solutions

Enforcing Correct Mutex Usage with Synchronized Values

Friday, 28 May 2010

My latest article, Enforcing Correct Mutex Usage with Synchronized Values has been published on the Dr Dobb's website.

This article expands on the SynchronizedValue<T> template I mentioned in my presentation on Concurrency in the Real World at ACCU 2010, and deals with the problem of ensuring that the mutex associated with some data is locked whenever the data is accessed.

The basic idea is that you use SynchronizedValue<T> wherever you have an object of type T that you wish to be protected with its own mutex. The SynchronizedValue<T> then behaves like a pointer-to-T for simple uses.

Read the article for the full details.

Posted by Anthony Williams
[/ news /] permanent link
Tags: ,
Stumble It! stumbleupon logo | Submit to Reddit reddit logo | Submit to DZone dzone logo

Comment on this post

If you liked this post, why not subscribe to the RSS feed RSS feed or Follow me on Twitter? You can also subscribe to this blog by email using the form on the left.


abercrombie and fitch uk store !abercrombie uk,which sells abercrombie clothing including abercrombie kids,abercrombie boys,abercromebie men,abercrombie women and so on to teens,now is so famous in abercrombie and fitch uk.In order to feedback our customers' support and cooperation,our abercrombie storee is going to give some big promotions in this summer.Welcome to shop with us.


by abercrombie fitch polo at 15:00:33 on Monday, 21 January 2019

what a cool article really you have impressed me thank you for sharing this article.

by internet marketing melbourne at 15:00:33 on Monday, 21 January 2019

You have a little entity leakage up there; might wanna fix it.

by Dave Abrahams at 15:00:33 on Monday, 21 January 2019

Thanks Dave

by Anthony Williams at 15:00:33 on Monday, 21 January 2019

Add your comment

Your name:

Email address:

Your comment:

Design and Content Copyright © 2005-2024 Just Software Solutions Ltd. All rights reserved. | Privacy Policy