aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-09 22:34:55 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-09 22:34:55 +0000
commit9f57b53569e732eb9c1da81b287decbce1cb98f1 (patch)
tree22420fd09ff814d6c69bb0d5c74eeacb3d99411b /main/asterisk.c
parentc1e724bf63e190c4178155edc1e7ef5d57115812 (diff)
Merged revisions 162414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r162414 | russell | 2008-12-09 16:25:06 -0600 (Tue, 09 Dec 2008) | 16 lines 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/branches/1.6.1@162416 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index c7c4ec823..e85479b15 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -3290,10 +3290,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();