From: Christopher Allan Webber Date: Fri, 20 Jan 2017 23:58:20 +0000 (-0600) Subject: actors: Don't reply to a message when the messsage doesn't need a reply. X-Git-Tag: v0.4.2~15 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=2aab08f137540cf22d5f5e32467e838c3ab18637;hp=2aab08f137540cf22d5f5e32467e838c3ab18637;p=8sync.git actors: Don't reply to a message when the messsage doesn't need a reply. * 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. ---