reference: document the synchronizaion result of delay/sync
... and, by implication, `delay/therad`. Closes 1820
This commit is contained in:
parent
4f658904b5
commit
6ec6b39827
|
@ -101,6 +101,7 @@ thread other than one currently running the promise causes the
|
||||||
promise is also a @tech{synchronizable event} for use with
|
promise is also a @tech{synchronizable event} for use with
|
||||||
@racket[sync]; @racket[sync]ing on the promise does not @racket[force]
|
@racket[sync]; @racket[sync]ing on the promise does not @racket[force]
|
||||||
it, but merely waits until a value is forced by another thread.
|
it, but merely waits until a value is forced by another thread.
|
||||||
|
The @tech{synchronization result} is @|void-const|.
|
||||||
|
|
||||||
If a promise created by @racket[delay/sync] is forced on a thread that
|
If a promise created by @racket[delay/sync] is forced on a thread that
|
||||||
is already running the promise, an exception is raised in the same way
|
is already running the promise, an exception is raised in the same way
|
||||||
|
|
Loading…
Reference in New Issue
Block a user