Merged revisions 115990 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 13 May 2008 21:07:59 +0000 (21:07 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 13 May 2008 21:07:59 +0000 (21:07 +0000)
commit8e4c0e85d8786f56dc424598809f8d4e3cc6fdad
treeb682e9a0ccc5548a0711dcb7e2060dd15ed88c95
parent8d1872396190eba8149bb1c7134367d49105d707
Merged revisions 115990 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115990 | russell | 2008-05-13 16:05:57 -0500 (Tue, 13 May 2008) | 5 lines

Fix an issue that I noticed in autoservice while mmichelson and I were debugging
a different problem.  I noticed that it was theoretically possible for two threads
to attempt to start the autoservice thread at the same time.  This change makes the
process of starting the autoservice thread, thread-safe.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/autoservice.c