docs: will executors are synchronizable events
Merge to 5.3
This commit is contained in:
parent
9f492c10a7
commit
2d6073f59f
|
@ -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]
|
Calling the @racket[will-execute] or @racket[will-try-execute]
|
||||||
procedure executes a will that is ready in the specified will
|
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
|
programs need control to avoid race conditions. However, a program can
|
||||||
create a thread whose sole job is to execute wills for a particular
|
create a thread whose sole job is to execute wills for a particular
|
||||||
executor.
|
executor.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user