[asterisk-dev] Proper use of locking.

Russell Bryant russell at digium.com
Fri Jul 20 15:15:41 CDT 2007


Derek Smithies wrote:
> And of the need to copy data (which is reported for logging (say)) and 
> then freeing the mutex in the minimum of time - is there any plan of work 
> in this direction ?

ast_log() in trunk already does this.  It tacks it on to the end of a
pending log messages list and returns.

-- 
Russell Bryant
Software Engineer
Digium, Inc.



More information about the asterisk-dev mailing list