[asterisk-dev] Proper use of locking.
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Thu Jul 19 18:42:39 CDT 2007
On Thursday 19 July 2007 16:42, Kevin P. Fleming wrote:
> I've already said this twice, I don't know how I can say it again and
> get the point across. Asterisk has *always* used recursive
> (reentrant) mutexes since I have been working with it, and probably
> long before that, possibly since it was first turned into a threaded
> application.
It was originally coded with non-recursive mutexes, and we had to jump
through a number of hoops to get around the non-reentrancy of the
mutexes. However, as Kevin has stated repeatedly in this thread, that
change happened YEARS ago. All mutexes in Asterisk are currently
recursive.
--
Tilghman
More information about the asterisk-dev
mailing list