mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Data stores do not need a lock. As well change the way they are removed from the channel when it is destroyed (thanks Russell Wussell) and finally... because C++ is silly... change our list macro info thing to be "entry" instead of "list".
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -161,7 +161,7 @@ struct ast_datastore {
|
||||
/*! Data store type information */
|
||||
const struct ast_datastore_info *info;
|
||||
/*! Used for easy linking */
|
||||
AST_LIST_ENTRY(ast_datastore) list;
|
||||
AST_LIST_ENTRY(ast_datastore) entry;
|
||||
};
|
||||
|
||||
/*! Structure for all kinds of caller ID identifications */
|
||||
@@ -444,7 +444,7 @@ struct ast_channel {
|
||||
struct ast_channel_spy_list *spies;
|
||||
|
||||
/*! Data stores on the channel */
|
||||
AST_LIST_HEAD(datastores, ast_datastore) datastores;
|
||||
AST_LIST_HEAD_NOLOCK(datastores, ast_datastore) datastores;
|
||||
|
||||
/*! For easy linking */
|
||||
AST_LIST_ENTRY(ast_channel) chan_list;
|
||||
|
Reference in New Issue
Block a user