diff options
author | Marius Vollmer <mvo@zagadka.de> | 2002-11-02 01:09:20 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2002-11-02 01:09:20 +0000 |
commit | d52f53b1ff657762b203c12191a9fe7e5daa1987 (patch) | |
tree | 7e64518b1bc0247caf818b3177d2cf2a2f7acf32 | |
parent | 0019d6a19dc2967e8d6f0d5c376abfd445f482f2 (diff) | |
download | guile-d52f53b1ff657762b203c12191a9fe7e5daa1987.tar.gz |
*** empty log message ***
-rw-r--r-- | NEWS | 15 | ||||
-rw-r--r-- | libguile/ChangeLog | 10 |
2 files changed, 19 insertions, 6 deletions
@@ -8,8 +8,8 @@ Changes since the stable branch: * Changes to the distribution -** There is a new thread implementation option "null", which is also - the default now. +** There are two new thread implementation options: "null" and + "coop-pthreads". When you configure "--with-threads=null", you will get the usual threading API (call-with-new-thread, make-mutex, etc), but you can't @@ -18,11 +18,14 @@ equivalent to "--with-threads=null". This means that the thread API is always present, although you might not be able to create new threads. -When cooperative threading is not supported on your platform, you will -get the "null" threads instead. +When "coop" threading is not supported on your platform, you will get +the "null" threads instead. -The long term plan is to make the selection of a thread implementation -a run-time option, not a configure time option. +The "coop-pthread" (or shorter: "copt") thread implementation will use +portable POSIX threads but will restrict them so that only one thread +can execute 'in Guile' at any one time. This option will give you the +same basic behavior as the "coop" option, but hopefully in a more +portable way. ** Guile now includes its own version of libltdl. diff --git a/libguile/ChangeLog b/libguile/ChangeLog index a5395ab9d..49e8dc39f 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,13 @@ +2002-11-02 Marius Vollmer <mvo@zagadka.ping.de> + + * coop-pthreads.c, coop-pthreads.h: Redone completely, you might + start testing it now. + + * _scm.h: Include <errno.h< so that SCM_SYSCALL is correctly + defined when HAVE_RESTARTABLE_SYSCALLS is not defined. + (HAVE_RESTARTABLE_SYSCALLS): Do not define when USE_COPT_THREADS + is defined. + 2002-10-27 Marius Vollmer <mvo@zagadka.ping.de> * scmsigs.c (signal_cell_handlers, install_handler_data, |