Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
5f469ad2
提交
5f469ad2
authored
10月 23, 2012
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-4753 --resolve this should properly detect it everywhere
上级
4b6db132
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
34 行增加
和
9 行删除
+34
-9
Makefile.am
Makefile.am
+4
-1
configure.in
configure.in
+2
-0
.update
libs/apr/.update
+1
-1
Makefile.in
libs/apr/Makefile.in
+12
-0
configure.in
libs/apr/configure.in
+3
-0
thread.c
libs/apr/threadproc/unix/thread.c
+2
-1
.update
libs/sofia-sip/.update
+1
-1
Makefile.am
libs/sofia-sip/Makefile.am
+3
-0
configure.ac
libs/sofia-sip/configure.ac
+3
-0
su_pthread_port.c
libs/sofia-sip/libsofia-sip-ua/su/su_pthread_port.c
+2
-5
Makefile.am
src/mod/endpoints/mod_sofia/Makefile.am
+1
-0
没有找到文件。
Makefile.am
浏览文件 @
5f469ad2
...
...
@@ -450,7 +450,10 @@ libs/curl/lib/libcurl.la: libs/curl libs/curl/Makefile
@
cd
libs/curl
&&
$(MAKE)
@
$(TOUCH_TARGET)
libs/apr/libapr-1.la
:
libs/apr libs/apr/.update
libs/apr/Makefile
:
libs/apr/Makefile.in libs/apr/config.status libs/apr libs/apr/.update
@
cd
libs/apr
&&
./config.status
libs/apr/libapr-1.la
:
libs/apr/Makefile
touch
src/include/switch.h
@
cd
libs/apr
&&
$(MAKE)
@
$(TOUCH_TARGET)
...
...
configure.in
浏览文件 @
5f469ad2
...
...
@@ -559,6 +559,8 @@ AX_HAVE_CPU_SET
AC_CHECK_LIB(rt, clock_gettime, [AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define if you have clock_gettime()])])
AC_CHECK_LIB(rt, clock_getres, [AC_DEFINE(HAVE_CLOCK_GETRES, 1, [Define if you have clock_getres()])])
AC_CHECK_LIB(rt, clock_nanosleep, [AC_DEFINE(HAVE_CLOCK_NANOSLEEP, 1, [Define if you have clock_nanosleep()])])
AC_CHECK_LIB(pthread, pthread_setschedprio, [AC_DEFINE(HAVE_PTHREAD_SETSCHEDPRIO, 1, [Define if you have pthread_setschedprio()])])
AC_CHECK_FUNC(socket, , AC_CHECK_LIB(socket, socket))
AC_CHECK_FILE(/dev/ptmx, [AC_DEFINE(HAVE_DEV_PTMX, 1, [Define if you have /dev/ptmx])])
...
...
libs/apr/.update
浏览文件 @
5f469ad2
T
hu Sep 27 13:36:14 C
DT 2012
T
ue Oct 23 13:13:30 E
DT 2012
libs/apr/Makefile.in
浏览文件 @
5f469ad2
...
...
@@ -66,6 +66,18 @@ apr-config.out: $(APR_CONFIG)
build/apr_rules.out
:
build/apr_rules.mk
sed
's,^\(apr_build.*=\).*$$,\1
$(installbuilddir)
,'
< build/apr_rules.mk
>
$@
.PRECIOUS
:
Makefile
Makefile
:
$(srcdir)/Makefile.in $(top_blddir)/config.status
cd
$(srcdir)
&&
./config.status
$(top_blddir)/config.status
:
$(top_srcdir)/configure
$(SHELL)
./config.status
--recheck
$(top_srcdir)/configure
:
$(top_srcdir)/configure.in
cd
$(srcdir)
&&
autoconf
cd
$(srcdir)
&&
autoheader
install
:
$(TARGET_LIB) apr-config.out build/apr_rules.out
$(APR_MKDIR)
$(DESTDIR)$(libdir)
$(DESTDIR)$(bindir)
$(DESTDIR)$(installbuilddir)
\
$(DESTDIR)$(libdir)
/pkgconfig
$(DESTDIR)$(includedir)
...
...
libs/apr/configure.in
浏览文件 @
5f469ad2
...
...
@@ -550,6 +550,7 @@ AC_CHECK_LIB(truerand, main)
AC_SEARCH_LIBS(modf, m)
AC_CHECK_LIB(dl, dlopen)
dnl ----------------------------- Checking for Threads
echo "${nl}Checking for Threads..."
...
...
@@ -1619,6 +1620,8 @@ APR_CHECK_DEFINE_FILES(POLLIN, poll.h sys/poll.h)
if test "$threads" = "1"; then
APR_CHECK_DEFINE(PTHREAD_PROCESS_SHARED, pthread.h)
AC_CHECK_FUNCS(pthread_mutexattr_setpshared)
AC_CHECK_LIB(pthread, pthread_setschedprio, [AC_DEFINE(HAVE_PTHREAD_SETSCHEDPRIO, 1, [Define if you have pthread_setschedprio()])])
# Some systems have setpshared and define PROCESS_SHARED, but don't
# really support PROCESS_SHARED locks. So, we must validate that we
# can go through the steps without receiving some sort of system error.
...
...
libs/apr/threadproc/unix/thread.c
浏览文件 @
5f469ad2
...
...
@@ -174,7 +174,8 @@ APR_DECLARE(apr_status_t) apr_thread_create(apr_thread_t **new,
}
if
((
stat
=
pthread_create
((
*
new
)
->
td
,
temp
,
dummy_worker
,
(
*
new
)))
==
0
)
{
#ifndef __APPLE__
#ifdef HAVE_PTHREAD_SETSCHEDPRIO
if
(
attr
&&
attr
->
priority
)
{
pthread_t
*
thread
=
(
*
new
)
->
td
;
pthread_setschedprio
(
*
thread
,
attr
->
priority
);
...
...
libs/sofia-sip/.update
浏览文件 @
5f469ad2
Mon Oct 1 12:24:45 C
DT 2012
Tue Oct 23 13:13:35 E
DT 2012
libs/sofia-sip/Makefile.am
浏览文件 @
5f469ad2
...
...
@@ -40,6 +40,9 @@ dist_man_MANS =
# man/man1/localinfo.1 man/man1/addrinfo.1 \
# man/man1/stunc.1 man/man1/sip-dig.1
noop
:
@
echo
ok
$(dist_man_MANS)
:
manpages
manpages
:
...
...
libs/sofia-sip/configure.ac
浏览文件 @
5f469ad2
...
...
@@ -254,6 +254,9 @@ if test x"$have_check" = "xyes"; then
fi
AC_CHECK_HEADERS([fnmatch.h])
AC_CHECK_LIB(pthread, pthread_setschedprio, [AC_DEFINE(HAVE_PTHREAD_SETSCHEDPRIO, 1, [Define if you have pthread_setschedprio()])])
dnl dl is currently used only in testing
AC_CHECK_LIB([dl], [dlopen], [
dnl Note: -ldl is not added to LIBS
...
...
libs/sofia-sip/libsofia-sip-ua/su/su_pthread_port.c
浏览文件 @
5f469ad2
...
...
@@ -269,13 +269,10 @@ int su_pthreaded_port_start(su_port_create_f *create,
pthread_mutex_lock
(
arg
.
mutex
);
if
(
pthread_create
(
&
tid
,
&
attr
,
su_pthread_port_clone_main
,
&
arg
)
==
0
)
{
#if defined (WIN32)
/* this needs to be revisited when pthread for Windows supports thread priority settings */
#elif defined (__APPLE__)
/* no such function on Apple */
#else
#ifdef HAVE_PTHREAD_SETSCHEDPRIO
pthread_setschedprio
(
tid
,
99
);
#endif
pthread_cond_wait
(
arg
.
cv
,
arg
.
mutex
);
thread_created
=
1
;
}
...
...
src/mod/endpoints/mod_sofia/Makefile.am
浏览文件 @
5f469ad2
...
...
@@ -41,6 +41,7 @@ BUILT_SOURCES = $(SOFIALA)
$(mod_sofia_la_SOURCES)
:
$(BUILT_SOURCES)
$(SOFIALA)
:
$(SOFIA_DIR) $(SOFIA_DIR)/.update
cd
$(SOFIA_BUILDDIR)
&&
$(MAKE)
noop
cd
$(SOFIA_BUILDDIR)
&&
$(MAKE)
SOFIA_CFLAGS
=
"
$(SWITCH_AM_CFLAGS)
"
$(TOUCH_TARGET)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论