提交 1730f202 authored 作者: Michael Jerris's avatar Michael Jerris

declaration after code.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5235 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 62c8e751
...@@ -718,11 +718,12 @@ static void *SWITCH_THREAD_FUNC switch_core_session_thread(switch_thread_t * thr ...@@ -718,11 +718,12 @@ static void *SWITCH_THREAD_FUNC switch_core_session_thread(switch_thread_t * thr
SWITCH_DECLARE(switch_status_t) switch_core_session_thread_launch(switch_core_session_t *session) SWITCH_DECLARE(switch_status_t) switch_core_session_thread_launch(switch_core_session_t *session)
{ {
switch_status_t status = SWITCH_STATUS_FALSE;
switch_thread_t *thread; switch_thread_t *thread;
switch_threadattr_t *thd_attr;; switch_threadattr_t *thd_attr;;
switch_threadattr_create(&thd_attr, session->pool); switch_threadattr_create(&thd_attr, session->pool);
switch_threadattr_detach_set(thd_attr, 1); switch_threadattr_detach_set(thd_attr, 1);
switch_status_t status = SWITCH_STATUS_FALSE;
switch_mutex_lock(session->mutex); switch_mutex_lock(session->mutex);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论