Jan 17, 2009

What is a recursive mutex lock?

What is a recursive mutex lock?
With a recursive mutex lock, a thread can lock the same mutex multiple times.
Two functions f1 and f2, each of them will lock the same mutex, and f1 call f2 in the f1 function. So you should use recursive mutex lock.

No comments:

Post a Comment