Merged revisions 118509 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Tue, 27 May 2008 19:08:24 +0000 (19:08 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 27 May 2008 19:08:24 +0000 (19:08 +0000)
commit614ae910928b85a71bc3bb4b98e8fb4381182f64
tree12405d56809375c774e4afefe481b93a0db5bcf6
parent4169ea891c5b30470b07cb87c3692b73fbd794a9
Merged revisions 118509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118509 | mmichelson | 2008-05-27 14:07:26 -0500 (Tue, 27 May 2008) | 11 lines

Russell noted to me that in the case that separate threads use their
own addressing system, the fix I made for issue 12376 does not guarantee
uniqueness to the datastores' uids. Though I know of no system that works
this way, I am going to change this right now to prevent trying to track
down some future bug that may occur and cause untold hours of debugging
time to track down.

The change involves using a global counter which increases with each new
chanspy_ds which is created. This guarantees uniqueness.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c