From: Christopher Allan Webber Date: Mon, 31 Jul 2017 21:14:16 +0000 (-0500) Subject: Add with-actor-nonblocking-ports and related tooling. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=1e636b5da1e6c25ba366b475f939cd4899770fef;hp=1e636b5da1e6c25ba366b475f939cd4899770fef;p=8sync.git Add with-actor-nonblocking-ports and related tooling. This permits actors to not block their handling of correspondence on I/O by handling the suspendable-ports functionality themselves rather than through the normal fibers route. This is useful for actors that might be needing to exclusively control a port * 8sync/actors.scm (<-wait): Add '<-wait symbol to arguments of aborting to the prompt to distinguish it from the 'run-me action. (actor-main-loop): Support handling suspendable ports on actor level to support correspondence during I/O. (%suspend-io-to-actor, suspend-read-to-actor, suspend-write-to-actor) (with-actor-nonblocking-ports, actor-spawn-fiber) (*resume-io-channel*): New variables. ---