mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
add softtimer to the core, begin framework for static modules and reduces calls to gettimeofday for timestamps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5784 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
23758b1965
commit
bd6bd9ad57
21 files changed
+163
-303
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include <switch.h>
|
||||
|
||||
|
||||
struct switch_scheduler_task_container {
|
||||
switch_scheduler_task_t task;
|
||||
int64_t executed;
|
||||
@@ -71,6 +72,7 @@ static int task_thread_loop(int done)
|
||||
|
||||
|
||||
switch_mutex_lock(globals.task_mutex);
|
||||
|
||||
for (tp = globals.task_list; tp; tp = tp->next) {
|
||||
if (done) {
|
||||
tp->destroyed = 1;
|
||||
|
||||
Reference in new issue
Block a user