guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread support plan with initial patch


From: NIIBE Yutaka
Subject: Re: Thread support plan with initial patch
Date: Mon, 2 Apr 2001 20:09:04 +0900 (JST)

Dirk Herrmann wrote:
 > Maybe it is of interest for you that in June 2000 I have added some code
 > to guile which virtualized guile's threading interface.  It can be found
 > in the CVS branch "dirk-thread-factorization-branch".

I've got it.  I needed a little configure.in changes:
-------------
Index: configure.in
===================================================================
RCS file: /cvs/guile/guile-core/configure.in,v
retrieving revision 1.116
diff -u -r1.116 configure.in
--- configure.in        2000/06/02 06:44:27     1.116
+++ configure.in        2001/04/02 11:01:58
@@ -465,6 +465,7 @@
   case "${THREAD_PACKAGE}" in
     "QT" )
       AC_DEFINE(USE_COOP_THREADS, 1)
+      LIBOBJS="$LIBOBJS coop.o guile-coop.o"
     ;;
     * )
       AC_MSG_ERROR(invalid value for THREAD_PACKAGE: ${THREAD_PACKAGE})
@@ -477,11 +478,11 @@
     AC_DEFINE(GUILE_ISELECT, 1)
   fi
 
-  ## Workaround for linuxthreads (currently disabled)
-  if test $host_os = linux-gnu; then
-    AC_DEFINE(GUILE_PTHREAD_COMPAT, 1)
-    AC_CHECK_LIB(pthread, main)
-  fi
+#  ## Workaround for linuxthreads (currently disabled)
+#  if test $host_os = linux-gnu; then
+#    AC_DEFINE(GUILE_PTHREAD_COMPAT, 1)
+#    AC_CHECK_LIB(pthread, main)
+#  fi
 fi
 
 ## If we're using GCC, ask for aggressive warnings.
-------------

 > The branch includes some test cases, and it was one of those which
 > failed.

I have tested, but not got failure (with/without shared).
My working environment is Debian woody.

It would be good if we share the test cases.

------------------------
FAIL: list.test: append!: documented?
FAIL: numbers.test: exact?: documented?
FAIL: threads.test: threads: call-with-new-thread: documented?
FAIL: threads.test: threads: thread?: documented?
FAIL: threads.test: threads: thread-exit: documented?
FAIL: threads.test: threads: thread-cancel: documented?
FAIL: threads.test: threads: thread-join: documented?
FAIL: threads.test: threads: thread-yield: documented?
FAIL: threads.test: mutecis: make-mutex: documented?
FAIL: threads.test: mutecis: mutex?: documented?
FAIL: threads.test: mutecis: mutex-lock: documented?
FAIL: threads.test: mutecis: mutex-trylock: documented?
FAIL: threads.test: mutecis: mutex-unlock: documented?

Totals for this test run:
passes:                 2136
failures:               13
unexpected passes:      0
expected failures:      11
unresolved test cases:  0
untested test cases:    1
unsupported test cases: 9
errors:                 0
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]