From e9a8373bd67f8b39ad378175931fa258f953a3ba Mon Sep 17 00:00:00 2001 From: Julian Graham Date: Sun, 13 Apr 2008 20:31:18 -0400 Subject: [PATCH] ChangeLog updates for latest set of SRFI-18 changes --- doc/ref/ChangeLog | 8 ++++++++ libguile/ChangeLog | 14 ++++++++++++++ test-suite/ChangeLog | 9 +++++++++ 3 files changed, 31 insertions(+), 0 deletions(-) diff --git a/doc/ref/ChangeLog b/doc/ref/ChangeLog index 7719819..4a0a943 100644 --- a/doc/ref/ChangeLog +++ b/doc/ref/ChangeLog @@ -1,3 +1,11 @@ +2008-04-13 Julian Graham + + * api-scheduling.texi (Mutexes and Condition Variables): Add + documentation for new functions "scm_mutex_owner", + "scm_mutex_level", and "scm_mutex_locked_p". Update + documentation for function "scm_lock_mute_timed" to reflect + addition of optional ownership argument. + 2008-03-28 Neil Jerram * libguile-concepts.texi (Multi-Threading): Fix typo. diff --git a/libguile/ChangeLog b/libguile/ChangeLog index ea75158..48a849e 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,17 @@ +2008-04-13 Julian Graham + + * threads.c (fat_mutex)[recursive]: New field. + (make_fat_mutex): Adjust initialization to reflect changes to + mutex lock level semantics. + (fat_mutex_lock, fat_mutex_unlock): Add support for unowned + mutexes and locking mutexes on behalf of other threads. + (scm_lock_mutex, scm_lock_mutex_timed): Update to reflect + signature change to fat_mutex_lock. + (scm_mutex_owner, scm_mutex_level, scm_mutex_locked_p): New / + re-enabled functions. + * threads.h (scm_mutex_owner, scm_mutex_level, + scm_mutex_locked_p): Prototypes for new functions. + 2008-04-13 Ludovic Courtès * inline.h (SCM_C_USE_EXTERN_INLINE): New macro. Use it to make diff --git a/test-suite/ChangeLog b/test-suite/ChangeLog index 7b546b3..fcacd9c 100644 --- a/test-suite/ChangeLog +++ b/test-suite/ChangeLog @@ -1,3 +1,12 @@ +2008-04-13 Julian Graham + + * tests/threads.test (mutex-ownership, mutex-lock-levels): New + test prefix. + (mutex ownership for locked mutex, mutex ownership for unlocked + mutex, locking mutex on behalf of other thread, locking mutex + with no owner, unlocked level is 0, non-recursive lock level + is 1, recursive lock level is >1): New tests. + 2008-04-13 Ludovic Courtès * tests/goops.test (defining classes)[interaction with -- 1.5.4.3