
28 Nov
2010
28 Nov
'10
10:18 p.m.
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... ? B.