in ast_hint_state_changed(). This makes it get locked recursively which now
causes a deadlock.
(closes issue #11080, thanks to callguy for the access to a deadlocked machine)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@94831
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
{
struct ast_hint *hint;
- ast_rdlock_contexts();
AST_LIST_LOCK(&hints);
AST_LIST_TRAVERSE(&hints, hint, list) {
}
AST_LIST_UNLOCK(&hints);
- ast_unlock_contexts();
}
/*! \brief ast_extension_state_add: Add watcher for extension states */