core: Don't create snapshots with locks.
authorJoshua Colp <jcolp@digium.com>
Tue, 10 Mar 2015 23:09:49 +0000 (23:09 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 10 Mar 2015 23:09:49 +0000 (23:09 +0000)
commit2889f074a0a2ce83481fd89a0039bf85a96b6f84
treed44ea4fb3181229c9e63a99e269c843c2903aa8a
parent15d266bf850ee62cc7708587cde6fd53a3c35be6
core: Don't create snapshots with locks.

Snapshots are immutable and are never changed. Allocating them
with a lock is wasteful.

Review: https://reviewboard.asterisk.org/r/4469/
........

Merged revisions 432742 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/endpoints.c
main/stasis_bridges.c
main/stasis_channels.c