summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-10-27 21:22:28 +0200
committerAndy Wingo <wingo@pobox.com>2016-10-27 21:22:28 +0200
commita04739b31a561879368c61f7599844fc9a85a7a6 (patch)
tree0f168ee23d9f12b1e7200c065f20a74531f93dcb /NEWS
parentc957ec7ab0f0a028910dc737e12191f7bdc1ca93 (diff)
cancel-thread via asyncs, not pthread_cancel
* module/ice-9/threads.scm (cancel-tag): New variable. (cancel-thread): New Scheme function. (call-with-new-thread): Install a prompt around the thread. * libguile/threads.h (scm_i_thread): Remove cancelled member. * libguile/threads.c (scm_cancel_thread): Call out to Scheme. Always available, and works on the current thread too. (scm_set_thread_cleanup_x, scm_thread_cleanup): Adapt. (scm_init_ice_9_threads): Capture cancel-thread var. * doc/ref/api-scheduling.texi (Threads): Update. * NEWS: Update.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0702eb294..06f2e8c30 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,9 @@ trivial unused data structure. Now that we have deprecated the old
only refer to "asyncs".
* Bug fixes
+** cancel-thread uses asynchronous interrupts, not pthread_cancel
+
+See "Asyncs" in the manual, for more on asynchronous interrupts.
Previous changes in 2.1.x (changes since the 2.0.x series):