]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_fifo: Improve strategy thread function names
authorTravis Cross <tc@traviscross.com>
Sun, 25 May 2014 16:07:35 +0000 (16:07 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 28 May 2014 01:32:01 +0000 (01:32 +0000)
src/mod/applications/mod_fifo/mod_fifo.c

index 6d9f8da59d6ae24d12adddbf3a1b74ab0ca4c228..a5e24c6388daa74594e63c999005f05631ee55f9 100644 (file)
@@ -1342,7 +1342,7 @@ static switch_status_t messagehook (switch_core_session_t *session, switch_core_
 }
 
 
-static void *SWITCH_THREAD_FUNC ringall_thread_run(switch_thread_t *thread, void *obj)
+static void *SWITCH_THREAD_FUNC outbound_ringall_thread_run(switch_thread_t *thread, void *obj)
 {
        struct callback_helper *cbh = (struct callback_helper *) obj;
        char *node_name;
@@ -1744,7 +1744,7 @@ static void *SWITCH_THREAD_FUNC ringall_thread_run(switch_thread_t *thread, void
        return NULL;
 }
 
-static void *SWITCH_THREAD_FUNC o_thread_run(switch_thread_t *thread, void *obj)
+static void *SWITCH_THREAD_FUNC outbound_enterprise_thread_run(switch_thread_t *thread, void *obj)
 {
        struct call_helper *h = (struct call_helper *) obj;
 
@@ -1946,7 +1946,7 @@ static int place_call_enterprise_callback(void *pArg, int argc, char **argv, cha
        switch_threadattr_create(&thd_attr, h->pool);
        switch_threadattr_detach_set(thd_attr, 1);
        switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
-       switch_thread_create(&thread, thd_attr, o_thread_run, h, h->pool);
+       switch_thread_create(&thread, thd_attr, outbound_enterprise_thread_run, h, h->pool);
 
        (*need)--;
 
@@ -2003,7 +2003,7 @@ static void find_consumers(fifo_node_t *node)
                                switch_threadattr_create(&thd_attr, cbh->pool);
                                switch_threadattr_detach_set(thd_attr, 1);
                                switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
-                               switch_thread_create(&thread, thd_attr, ringall_thread_run, cbh, cbh->pool);
+                               switch_thread_create(&thread, thd_attr, outbound_ringall_thread_run, cbh, cbh->pool);
                        } else {
                                switch_core_destroy_memory_pool(&pool);
                        }