From 2d6073f59f4da531c79eb55ed41efbb415011e8f Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 12 Apr 2012 07:26:34 -0600 Subject: [PATCH] docs: will executors are synchronizable events Merge to 5.3 --- collects/scribblings/reference/memory.scrbl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/collects/scribblings/reference/memory.scrbl b/collects/scribblings/reference/memory.scrbl index 39b70cf85e..2ad8307375 100644 --- a/collects/scribblings/reference/memory.scrbl +++ b/collects/scribblings/reference/memory.scrbl @@ -109,7 +109,9 @@ embedded in an object when the object is no longer used. Calling the @racket[will-execute] or @racket[will-try-execute] procedure executes a will that is ready in the specified will -executor. Wills are not executed automatically, because certain +executor. A will executor is also a @tech{synchronizable event}, so @racket[sync] +or @racket[sync/timeout] can be used to detect when a will executor has +ready wills. Wills are not executed automatically, because certain programs need control to avoid race conditions. However, a program can create a thread whose sole job is to execute wills for a particular executor.