actors: Don't reply to a message when the messsage doesn't need a reply.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 20 Jan 2017 23:58:20 +0000 (17:58 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Jan 2017 00:01:00 +0000 (18:01 -0600)
* 8sync/actors.scm (<-reply, <-reply*, <-reply-wait, <-reply-wait*):
Only reply to messages if they're waiting on a reply still.
This avoids the challenges of actors never having requested a
reply in the first place resulting in trying to resume a waiting
coroutine that doesn't exist, as well as maybe the bonus one of not
replying multiple times to a message.


No differences found