[Asterisk-Users] Avoided deadlock

brett-asterisk at worldcall.net brett-asterisk at worldcall.net
Mon Jan 24 10:27:54 MST 2005


Brian West wrote:

>Repeat after me... WARNING != ERROR.  This is just letting you know that it
>walked the channel list and did avoid a dead lock by not trying to grab a
>lock on a channel that's already locked.
>
>            if (ast_mutex_trylock(&l->lock)) {
>                if (retries < 10)
>                    ast_log(LOG_DEBUG, "Avoiding initial deadlock for
>'%s'\n", l->name);
>                else
>                    ast_log(LOG_WARNING, "Avoided initial deadlock for '%s',
>%d retries!\n", l->name, retries);
>
>
>Read the code it tells you... channel.c 
>
>bkw
>
>  
>
Brian,
Is this an indication of a problem? Is there something that needs to be 
corrected? I can't even tell if this is a failure condition or if it's 
something I should just ignore. Your thoughts?

Thanks,
Brett





More information about the asterisk-users mailing list