Update of /cvsroot/micomt/mico
In directory usw-pr-cvs1:/tmp/cvs-serv31239
Modified Files:
CHANGES.mt configure.in
Log Message:
- fixed compilation of final build
- fixed --enable-threads configure option
- fixed server scalability problem with thread-pool concurrency model
which uses separate reader/writer threads for each GIOP connection
Index: CHANGES.mt
===================================================================
RCS file: /cvsroot/micomt/mico/CHANGES.mt,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** CHANGES.mt 2001/11/04 18:34:52 1.20
--- CHANGES.mt 2001/11/24 19:45:26 1.21
***************
*** 1,3 ****
--- 1,7 ----
+ - fixed compilation of final build
+ - fixed --enable-threads configure option
+ - fixed server scalability problem with thread-pool concurrency model
+ which uses separate reader/writer threads for each GIOP connection
- added initialization of MT stuff into main ORB init
- implemented priority handling in GNU Pth thread support
Index: configure.in
===================================================================
RCS file: /cvsroot/micomt/mico/configure.in,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** configure.in 2001/11/04 18:34:52 1.28
--- configure.in 2001/11/24 19:45:26 1.29
***************
*** 371,383 ****
if test X"$platform_supports_threads" = Xno; then
if test X"$use_threads" = Xyes; then
! if test X"$use_pthreads" = Xno; then
! AC_CHECK_LIB(thread, open, use_solaris_threads=yes, use_solaris_threads=no)
! if test X"$use_solaris_threads" = Xyes; then
! AC_CHECK_HEADERS(thread.h semaphore.h synch.h,,
! AC_MSG_ERROR(solaris thread header files incomplete)
! )
! AC_DEFINE(HAVE_SOLARIS_THREADS)
! SHLIBS="-lthread"
! fi
else
AC_CHECK_LIB(pthread, open, use_pthreads=yes, use_pthreads=no)
--- 371,383 ----
if test X"$platform_supports_threads" = Xno; then
if test X"$use_threads" = Xyes; then
! # if test X"$use_pthreads" = Xno; then
! AC_CHECK_LIB(thread, open, use_solaris_threads=yes, use_solaris_threads=no)
! if test X"$use_solaris_threads" = Xyes; then
! AC_CHECK_HEADERS(thread.h semaphore.h synch.h,,
! AC_MSG_ERROR(solaris thread header files incomplete)
! )
! AC_DEFINE(HAVE_SOLARIS_THREADS)
! SHLIBS="-lthread"
! # fi
else
AC_CHECK_LIB(pthread, open, use_pthreads=yes, use_pthreads=no)
***************
*** 399,403 ****
AC_CHECK_PROG(pth-config, use_pth_threads=yes, use_pth_threads=no)
SHLIBS="`pth-config --libs`"
- echo "GNU Pth : $SHLIBS"
fi
fi
--- 399,402 ----
|