[Freeswitch-svn] [commit] r12193 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Fri Feb 20 11:51:34 PST 2009


Author: anthm
Date: Fri Feb 20 13:51:34 2009
New Revision: 12193

Log:
reduce the yields

Modified:
   freeswitch/trunk/src/switch_ivr_originate.c

Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c	(original)
+++ freeswitch/trunk/src/switch_ivr_originate.c	Fri Feb 20 13:51:34 2009
@@ -1562,7 +1562,7 @@
 						goto notready;
 					}
 					
-					switch_yield(100000);
+					switch_cond_next();
 				}
 
 				check_per_channel_timeouts(&oglobals, originate_status, and_argc, start);
@@ -1821,7 +1821,7 @@
 					}
 					
 				} else {
-					switch_yield(100000);
+					switch_cond_next();
 				}
 				
 			}



More information about the Freeswitch-svn mailing list