summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-10-31 22:37:46 +0100
committerAndy Wingo <wingo@pobox.com>2016-10-31 22:37:46 +0100
commiteeeee3297b8d4cb0717ee3b9ae5068b4f0b7f118 (patch)
tree8ffa02e98e442ba94d803768de8b48c2839b4cd4 /NEWS
parent94a3433b9d1da4acf2737aa1db8ce129b90623d9 (diff)
Remove thread cleanup facility
* NEWS: Add entry. * doc/ref/api-scheduling.texi (Threads): Remove thread-cleanup docs. * libguile/threads.c (guilify_self_1, do_thread_exit): (scm_set_thread_cleanup_x, scm_thread_cleanup): Remove these. * libguile/threads.h (scm_i_thread): Remove cleanup_handler. * module/ice-9/threads.scm: * module/ice-9/deprecated.scm (thread-cleanup, set-thread-cleanup!): Remove. * test-suite/tests/threads.test: Adapt to test cancel-thread return values and not test thread-cleanup procs.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 06f2e8c30..a5b1a01ca 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,12 @@ break, however; we used the deprecation facility to signal a warning
message while also providing these bindings in the root environment for
the duration of the 2.2 series.
+** Thread cleanup handlers removed
+
+The `set-thread-cleanup!' and `thread-cleanup' functions that were added
+in Guile 2.0 to support cleanup after thread cancellation are no longer
+needed, since threads can declare cleanup handlers via `dynamic-wind'.
+
* New deprecations
** Arbiters deprecated