diff options
author | Andy Wingo <wingo@pobox.com> | 2016-10-31 22:37:46 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-10-31 22:37:46 +0100 |
commit | eeeee3297b8d4cb0717ee3b9ae5068b4f0b7f118 (patch) | |
tree | 8ffa02e98e442ba94d803768de8b48c2839b4cd4 /NEWS | |
parent | 94a3433b9d1da4acf2737aa1db8ce129b90623d9 (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-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |