[asterisk-dev] [Code Review] 4469: core: Don't allocate snapshots with locks

Joshua Colp reviewboard at asterisk.org
Tue Mar 10 18:09:34 CDT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4469/
-----------------------------------------------------------

(Updated March 10, 2015, 6:09 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 432742


Repository: Asterisk


Description
-------

Snapshots are immutable. They are created once and only read. Right now they are allocated with a lock. This is silly. This changes makes it so they aren't.


Diffs
-----

  /branches/13/main/stasis_channels.c 432666 
  /branches/13/main/stasis_bridges.c 432666 
  /branches/13/main/endpoints.c 432666 

Diff: https://reviewboard.asterisk.org/r/4469/diff/


Testing
-------

Did some basic scenarios and confirmed that stuff did not explode.


Thanks,

Joshua Colp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150310/ae2f61d1/attachment.html>


More information about the asterisk-dev mailing list