use atomic instructions to update the inuse counters
authorLuigi Rizzo <rizzo@icir.org>
Thu, 16 Nov 2006 14:41:28 +0000 (14:41 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Thu, 16 Nov 2006 14:41:28 +0000 (14:41 +0000)
commite58079b06707d030990bfca3941d5887ab7bd212
tree6d129efa4498ef14cf3487bab22415c5d79ba775
parent84a5921ab53336a83725c920409d8cb2d5209a8c
use atomic instructions to update the inuse counters
for CLI entriesC. The lock is not protecting this field.

I wonder if the field should be declared 'volatile' as well.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/cli.c