Re: [asterisk-dev] [asterisk-commits] russell: branch russell/chan_refcount r82328 - in /team/russell/chan_refcount...

2007-09-13 Thread Russell Bryant
Luigi Rizzo wrote: > The way you implement it, ao2_lock_both() won't save > you if the thread already happens to hold one of the > locks (which is a constant danger with recursive locks). > The implementation around a trylock/sleep was at least safe > from that point of view. Oh, right ... thank y

Re: [asterisk-dev] [asterisk-commits] russell: branch russell/chan_refcount r82328 - in /team/russell/chan_refcount...

2007-09-13 Thread Luigi Rizzo
On Thu, Sep 13, 2007 at 04:30:50PM -, SVN commits to the Asterisk project wrote: > Author: russell > Date: Thu Sep 13 11:30:50 2007 > New Revision: 82328 > > URL: http://svn.digium.com/view/asterisk?view=rev&rev=82328 > Log: > * constify some args to manager functions > * add two new function