Fix docs on thread-resume-evt
It returns `thd` as in the previous sentence, not itself.
This commit is contained in:
parent
4b2c9cfbcc
commit
82218f33bd
|
@ -224,8 +224,7 @@ result event remains ready; after each suspend of @racket[thd] a fresh
|
|||
event is generated to be returned by @racket[thread-resume-evt]. The
|
||||
result of the event is @racket[thd], but if @racket[thd] is never
|
||||
resumed, then reference to the event does not prevent @racket[thd]
|
||||
from being garbage collected (see @secref["gc-model"]).
|
||||
@ResultItself{thread-result event}.}
|
||||
from being garbage collected (see @secref["gc-model"]).}
|
||||
|
||||
@defproc[(thread-suspend-evt [thd thread?]) evt?]{
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user