diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-09 22:25:06 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-09 22:25:06 +0000 |
commit | 78f46b1cdbb99539fdc690b6fd6b40a293298333 (patch) | |
tree | 019c21417b7704f1a2aa65feb3c1674288a4c52c /main/asterisk.c | |
parent | 1a9ca96099ea596042c133bb858c7c6d0425b612 (diff) |
Merged revisions 162413 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r162413 | russell | 2008-12-09 16:17:39 -0600 (Tue, 09 Dec 2008) | 8 lines
Remove the test_for_thread_safety() function completely.
The test is not valid. Besides, if we actually suspected that recursive
mutexes were not working, we would get a ton of LOG_ERROR messages when
DEBUG_THREADS is turned on.
(inspired by a discussion on the asterisk-dev list)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@162414 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 250b55271..e82a8d87e 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -3297,10 +3297,6 @@ int main(int argc, char *argv[]) } #endif - /* Test recursive mutex locking. */ - if (test_for_thread_safety()) - ast_verbose("Warning! Asterisk is not thread safe.\n"); - ast_event_init(); ast_makesocket(); |