diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-08-21 19:42:29 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-08-21 19:42:29 +0000 |
commit | 283bcf4c9ff44107cfff2476c00e6f48e5d7d3d3 (patch) | |
tree | ae04f0abb230a05c368fc65081eb87eb1cd86d6e /main/loader.c | |
parent | 389c605a6768c1e6a9abdbb6f90ad6344cc83929 (diff) |
- simplify and improve astmm by using thread storage instead of a dynamic
allocation and free on every call of the function for preparing the string
that will be appended. Then, use the ast_dynamic_str() code instead of the
open coded version that is appended to when waiting for it to be delivered.
- use for loops for list traversals
- convert the manager sessions list to use list macros
- use atomic operations for num_sessions and usecounts
- convert some defines to the equivalent enum
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/loader.c')
0 files changed, 0 insertions, 0 deletions