mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-19 18:01:39 -07:00
New astobj2 flag for issuing a callback without locking the container.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@299135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -674,6 +674,12 @@ enum search_flags {
|
||||
* the hash value on the argument.
|
||||
*/
|
||||
OBJ_CONTINUE = (1 << 4),
|
||||
/*!
|
||||
* \brief By using this flag, the ao2_container being searched will _NOT_
|
||||
* be locked. Only use this flag if the ao2_container is being protected
|
||||
* by another mechanism other that the internal ao2_lock.
|
||||
*/
|
||||
OBJ_NOLOCK = (1 << 5),
|
||||
};
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user