mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 19:52:41 +00:00
more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
bca7917503
commit
2ed601f934
35 files changed
+104
-76
No files matched your search
@@ -253,7 +253,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_event_multicast_shutdown)
|
||||
globals.running = -1;
|
||||
while (x < 100000 && globals.running) {
|
||||
x++;
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1049,7 +1049,7 @@ static switch_status_t read_packet(listener_t *listener, switch_event_t **event,
|
||||
}
|
||||
}
|
||||
if (do_sleep) {
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(mod_zeroconf_runtime)
|
||||
sw_uint32 ms;
|
||||
ms = 100;
|
||||
sw_discovery_step(globals.discovery, &ms);
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
RUNNING = 0;
|
||||
return SWITCH_STATUS_TERM;
|
||||
|
||||
Reference in new issue
Block a user