From 923806650f4a7e5d566b7714615b043805681812 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Mon, 20 Jan 2025 07:59:05 -0800 Subject: [PATCH] Documentation for thread-terminate changes --- CHANGELOG.md | 1 + docs/api/srfi/18.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1909d54e..7cb45c9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Bug Fixes +- Yorick Hardy modified the runtime to allow `thread-terminate!` to take a thread object as an argument, per SRFI 18. - @nmeum fixed `open_memstream`/`fmemopen` feature detection with GCC >= 14. - Fixed a bug in `apply` where an error may be raised when processing quoted sub-expressions. For example the following would throw an error: `(apply cons '(5 (1 2)))`. Thanks to @srgx for the bug report! - Fixed a beta expansion optimization bug where code such as the following would cause the compiler to hang. Thanks to Yorick Hardy for the bug report: diff --git a/docs/api/srfi/18.md b/docs/api/srfi/18.md index 64b07543..08cb6bf7 100644 --- a/docs/api/srfi/18.md +++ b/docs/api/srfi/18.md @@ -92,9 +92,9 @@ The current thread exits the running state as if its quantum had expired. # thread-terminate! - (thread-terminate!) + (thread-terminate! thread) -Immediately abort the current thread. +Immediately abort the given thread. # thread-join!