summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ref/ChangeLog8
-rw-r--r--libguile/ChangeLog14
-rw-r--r--test-suite/ChangeLog9
3 files changed, 31 insertions, 0 deletions
diff --git a/doc/ref/ChangeLog b/doc/ref/ChangeLog
index 275a2a166..a143afe06 100644
--- a/doc/ref/ChangeLog
+++ b/doc/ref/ChangeLog
@@ -1,3 +1,11 @@
+2008-05-14 Julian Graham <joolean@gmail.com>
+
+ * 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_mutex_timed" to reflect
+ addition of optional ownership argument.
+
2008-05-07 Ludovic Courtès <ludo@gnu.org>
* Makefile.am (autoconf-macros.texi): Avoid use of GNU Make
diff --git a/libguile/ChangeLog b/libguile/ChangeLog
index 5afdd6589..93814071c 100644
--- a/libguile/ChangeLog
+++ b/libguile/ChangeLog
@@ -1,3 +1,17 @@
+2008-05-14 Julian Graham <joolean@gmail.com>
+
+ * 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-05-12 Neil Jerram <neil@ossau.uklinux.net>
* discouraged.c: Expand DEFFROM and DEFTO macros, to avoid
diff --git a/test-suite/ChangeLog b/test-suite/ChangeLog
index c2dc5aaed..5a1afc84c 100644
--- a/test-suite/ChangeLog
+++ b/test-suite/ChangeLog
@@ -1,3 +1,12 @@
+2008-05-14 Julian Graham <joolean@gmail.com>
+
+ * 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-28 Ludovic Courtès <ludo@gnu.org>
* tests/srfi-1.test (partition)[with improper list]: New test.