Boost logo

Boost Users :

Subject: Re: [Boost-users] [thread][repost] recursive shared mutex
From: Bronek Kozicki (brok_at_[hidden])
Date: 2010-11-28 17:18:03


On 28/11/2010 22:07, Marsh Ray wrote:
> Recursive mutex, to me, means "grant more of whatever the requesting
> thread already has, basically as a no-op." The calling thread isn't
> really acquiring anything new. Blocking him on something he already
> holds is a guaranteed deadlock. Whatever he's asking is for is probably
> going to help run his operation to completion, so it probably reduces
> contention on the exclusive lock too.

Hi

Are you familiar with this explanation why recursive mutexes are not
actually helping to write better programs
http://groups.google.com/group/comp.programming.threads/msg/d835f2f6ef8aed99?hl=en
?

B.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net