diff options
author | Marius Vollmer <mvo@zagadka.de> | 2002-12-02 01:03:24 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2002-12-02 01:03:24 +0000 |
commit | 5441c65c48ef22381f5a8406d3efa76319f998a3 (patch) | |
tree | 3161371339a1218a49cff099d87c0e745a944130 | |
parent | b2635f91b73aa2cf6618815906ac6fb82e1721f0 (diff) | |
download | guile-5441c65c48ef22381f5a8406d3efa76319f998a3.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | libguile/ChangeLog | 43 |
2 files changed, 52 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2002-12-02 Marius Vollmer <mvo@zagadka.ping.de> + + * Makefile.am (SUBDIRS): Removed qt. + + * configure.in: Do not configure QTHREADS. Do not define + USE_COOP_THREADS. Changed logic for thread package selection so + that the default is "coop-pthread" when -lpthread is found, "null" + otherwise. + 2002-12-01 Mikael Djurfeldt <mdj@linnaeus> * GUILE-VERSION: Added versioning info for srfi 1. diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 0ff696204..b1b2cc9ec 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,46 @@ +2002-12-02 Marius Vollmer <mvo@zagadka.ping.de> + + Reorganized thread package selection. A thread package now only + implements a small set of pthread like functions and Guile + implements the rest on top of that. Guile's implementation is + what the "coop-pthreads" package has been previously. Support for + "coop" threads has been removed until I get time to add it again. + + * Makefile.am (libguile_la_SOURCES): Removed iselect.c. + (noinst_HEADERS): Removed coop-threads.c, coop-threads.h, coop.c, + null-threads.c, coop-pthreads.c. + (modinclude_HEADERS): Removed coop-defs.h, coop-pthreads.h. Added + pthread-threads.h. + + * validate.h (SCM_VALIDATE_THREAD): Moved to threads.h. + + * threads.h: Do not include "libguile/coop-defs.h". Include + "libguile/pthread-threads.h" for USE_COPT_THREADS. Removed + (previously deprecated) C level thread API prototypes. They are + now in the thread package specific headers, "null-threads.h" and + "pthread-threads.h". + (SCM_VALIDATE_THREAD, SCM_VALIDATE_MUTEX, SCM_VALIDATE_CONDVAR): + New. + (scm_threads_init): Removed. + (SCM_CRITICAL_SECTION_START, SCM_CRITICAL_SECTION_END, + SCM_THREAD_SWITCHING_CODE, scm_i_switch_counter, + SCM_I_THREAD_SWITCH_COUNT): Define here. + (scm_single_thread_p): Removed. + (scm_call_with_new_thread): Take two args directly instead of list + of two args. + (scm_i_thread_data, scm_i_set_thread_data, SCM_THREAD_LOCAL_DATA, + SCM_SET_THREAD_LOCAL_DATA): Define here. + + * threads.c: Merged with "coop-pthreads.c". + + * null-threads.h: Implement pthread-like API as a set of macros. + + * pthread-threads.h: New, implement pthread-like API by deferring + to pthread itself. + + * init.c (scm_init_guile_1): Do not call scm_init_iselect, which + has been lost in the reorganization. + 2002-12-01 Mikael Djurfeldt <mdj@linnaeus> The following change makes it possible to move procedure |