aboutsummaryrefslogtreecommitdiffstats
path: root/main/editline
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-02 08:35:28 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-02 08:35:28 +0000
commit969ee8615dc4d3c70c30ed261e7857c2030b51a7 (patch)
tree516e3e1900437207c4eede416d7eb935576d229a /main/editline
parent4df43e96566b085c667897a467cdda70b68ac26f (diff)
Added counter for unhandled_bmsg Print, this prevents the logs to be flooded to fast and save CPU in this error scenario. Added 'last_used' element to bc structure, when a bchannel changes from used to free this exact time will be marked in last_used. When a new channel is requested the find_free_chan function will check if the new empty channel was used within the last second, if yes it will search for the next channel, if no it will return this channel. This simple mechanism has prooven to prevent race conditions where the NT and TE tried to allocate the exact same channel at the same time (RELEASE cause: 44).
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@119585 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/editline')
0 files changed, 0 insertions, 0 deletions