[asterisk-commits] dlee: branch dlee/ASTERISK-194630-startup-deadlock r398367 - /team/dlee/ASTER...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 5 00:05:36 CDT 2013


Author: dlee
Date: Thu Sep  5 00:05:34 2013
New Revision: 398367

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=398367
Log:
kill eet

Modified:
    team/dlee/ASTERISK-194630-startup-deadlock/main/asterisk.c

Modified: team/dlee/ASTERISK-194630-startup-deadlock/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-194630-startup-deadlock/main/asterisk.c?view=diff&rev=398367&r1=398366&r2=398367
==============================================================================
--- team/dlee/ASTERISK-194630-startup-deadlock/main/asterisk.c (original)
+++ team/dlee/ASTERISK-194630-startup-deadlock/main/asterisk.c Thu Sep  5 00:05:34 2013
@@ -3361,8 +3361,6 @@
 
 static void *fake_thread(void *p)
 {
-	long int x = (long int) p;
-	printf("Fake thread %ld\n", x);
 	return NULL;
 }
 
@@ -3843,9 +3841,9 @@
 	printf("%s", term_end());
 	fflush(stdout);
 
-	for (v = 0; v < 20; ++v) {
+	for (v = 0; v < 2000; ++v) {
 		pthread_t th;
-		ast_pthread_create_detached(&th, NULL, fake_thread, (void*)v);
+		ast_pthread_create(&th, NULL, fake_thread, (void*)v);
 	}
 
 	print_intro_message(runuser, rungroup);




More information about the asterisk-commits mailing list