The latest Effective Concurrency column, "Use Lock Hierarchies to Avoid Deadlock", just went live on DDJ’s site, and will also appear in the print magazine. From the article:
… The only way to eliminate such a potential deadlock is to make sure that all mutexes ever held at the same time are acquired in a consistent order. [...]
Archive for December, 2007
Effective Concurrency: Use Lock Hierarchies to Avoid Deadlock
Posted in Concurrency on December 11, 2007 | Leave a Comment »
Let’s Be Thoughtful Out There
Posted in Friday Thoughts on December 7, 2007 | 2 Comments »
I knew Hanlon’s Razor: "Never attribute to malice that which can be adequately explained by stupidity." And the variants attributed to Heinlein, described on the same page as adding "… but don’t rule out malice." or "… but keep your eyes open."
But I only just now came across Grey’s Law, which follows the flavor of Clarke’s [...]
TR1 in (Free) VC++ Express
Posted in C++ on December 5, 2007 | Leave a Comment »
A few weeks ago I blogged about the VC++ update we plan to ship in the first half of next year, which includes extensive additions to MFC as well as TR1. TR1 is the first set of library extensions published by the C++ committee, nearly all of which have also been adopted into the next [...]
Parallel Computing Releases at Microsoft
Posted in Concurrency on December 1, 2007 | 1 Comment »
For those of you who may be interested in concurrency for Microsoft platforms, and .NET in particular, I’m happy to report some fresh announcements:
MSDN has launched a Parallel Computing developer center. This is a section of the MSDN site focused on "providing information, ideas, community, and technology to developers to make it easier to write programs that perform and [...]
The Concurrency Land Rush: 2007-20??
Posted in Concurrency on December 1, 2007 | Leave a Comment »
Every time that we experience a "wave" in which the industry takes a programming paradigm that’s been growing in a niche, and brings it to the mainstream, we go through similar phases:
A land rush phase during which vendors try to stake out their turf. The market sees an explosive proliferation of products trying to enable [...]