How and when to use recursive mutex



Hi,

I just read some materiles about the recursive mutex, which will allow
the owner to relock a mutex instead causing deadlock. But I think this
is a not so good thing for programmer, or only good for careful
programmer?

The article details this, but I still can't catch the point:
http://zaval.org/resources/library/butenhof1.html

Thanks.
ABAI

.



Relevant Pages

  • Re: How and when to use recursive mutex
    ... I just read some materiles about the recursive mutex, ... the owner to relock a mutex instead causing deadlock. ... is a not so good thing for programmer, ... The careful programmer doesn't need recursive mutexes. ...
    (comp.os.linux.development.apps)
  • Re: How and when to use recursive mutex
    ... I just read some materiles about the recursive mutex, ... the owner to relock a mutex instead causing deadlock. ... is a not so good thing for programmer, ... The careful programmer doesn't need recursive mutexes. ...
    (comp.os.linux.development.apps)