X-Git-Url: https://jxself.org/git/?p=8sync.git;a=blobdiff_plain;f=doc%2F8sync.texi;fp=doc%2F8sync.texi;h=7412ea1e75942a11cdf532ddaa51f8a221830a95;hp=67eba86d284a1b1fdb855300ae826e4bf9c565d1;hb=c344305a29e610685dd2c2746bb495295f1696ef;hpb=027301aa7ab7f270c026a004436ae63506e30592 diff --git a/doc/8sync.texi b/doc/8sync.texi index 67eba86..7412ea1 100644 --- a/doc/8sync.texi +++ b/doc/8sync.texi @@ -441,7 +441,8 @@ How about an actor that start sleeping, and keeps sleeping? (define-class () (actions #:allocation #:each-subclass #:init-thunk (build-actions - (*init* sleeper-loop)))) + (*init* sleeper-loop))) + (sleep-secs #:init-value 1 #:getter sleeper-sleep-secs)) (define (sleeper-loop actor message) (while (actor-alive? actor)