From f790084e11c7c815f5a684015faf558c46470369 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 6 Aug 2017 09:18:38 -0600 Subject: [PATCH] call-in-nested-thread: add missing info in docs --- pkgs/racket-doc/scribblings/reference/threads.scrbl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/racket-doc/scribblings/reference/threads.scrbl b/pkgs/racket-doc/scribblings/reference/threads.scrbl index 51be177f7c..b2d9f007ae 100644 --- a/pkgs/racket-doc/scribblings/reference/threads.scrbl +++ b/pkgs/racket-doc/scribblings/reference/threads.scrbl @@ -94,7 +94,13 @@ If a break is queued for the original thread (with is redirected to the nested thread. If a break is already queued on the original thread when the nested thread is created, the break is moved to the nested thread. If a break remains queued on the nested -thread when it completes, the break is moved to the original thread.} +thread when it completes, the break is moved to the original thread. + +If the thread created by @racket[call-in-nested-thread] dies while +itself in a call to @racket[call-in-nested-thread], the outer call to +@racket[call-in-nested-thread] waits for the innermost nested thread +to complete, and any breaks pending on the inner threads are moved to +the original thread.} @;------------------------------------------------------------------------ @section[#:tag "threadkill"]{Suspending, Resuming, and Killing Threads}