X-Git-Url: https://jxself.org/git/?p=8sync.git;a=blobdiff_plain;f=8sync%2Factors.scm;h=fc8afcad3a6200550ae90396aff05881cd6fff5f;hp=2dcc310a7b24baa3cd017dd456e9a6676daf43fb;hb=092b40c1c8c9c45926113fbabd542d3186244367;hpb=61cc590c027a28d903164e85c36b90be1dbf6159 diff --git a/8sync/actors.scm b/8sync/actors.scm index 2dcc310..fc8afca 100644 --- a/8sync/actors.scm +++ b/8sync/actors.scm @@ -58,8 +58,6 @@ actor-init! actor-cleanup! - actor-alive? - build-actions define-actor @@ -672,14 +670,3 @@ its '*cleanup* action handler." (*actor-prompt* #f) (actor-cleanup! actor)) -;; From a patch I sent to Fibers... -(define (condition-signalled? cvar) - "Return @code{#t} if @var{cvar} has already been signalled. - -In general you will want to use @code{wait} or @code{wait-operation} to -wait on a condition. However, sometimes it is useful to see whether or -not a condition has already been signalled without blocking." - (atomic-box-ref ((@@ (fibers conditions) condition-signalled?) cvar))) - -(define (actor-alive? actor) - (condition-signalled? (address-dead? (actor-id actor))))