diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d2ab62cc897066b1a6a0277a904a01295472801e..507ac276e7708b110cf687b7f7ad09a0249f913e 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -722,13 +722,16 @@ static int global_max_se; /*!< Highest threshold for session /*@}*/ -/* Object counters */ +/*! Object counters @{ + * \bug These counters are not handled in a thread-safe way. ast_atomic_fetchadd_int() + * should be used to modify these values. */ static int suserobjs = 0; /*!< Static users */ static int ruserobjs = 0; /*!< Realtime users */ static int speerobjs = 0; /*!< Statis peers */ static int rpeerobjs = 0; /*!< Realtime peers */ static int apeerobjs = 0; /*!< Autocreated peer objects */ static int regobjs = 0; /*!< Registry objects */ +/* }@ */ static struct ast_flags global_flags[2] = {{0}}; /*!< global SIP_ flags */ static char used_context[AST_MAX_CONTEXT]; /*!< name of automatically created context for unloading */