From: Christopher Allan Webber Date: Tue, 1 Dec 2015 15:31:49 +0000 (-0600) Subject: Port removal, stop-on-nothing-to-do, and select when sleeping X-Git-Tag: v0.1.0~27 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=0a4fe47d9b6fe7c13296562b5408f68d0083da71;hp=0a4fe47d9b6fe7c13296562b5408f68d0083da71;p=8sync.git Port removal, stop-on-nothing-to-do, and select when sleeping The aligned goal here is to allow for removing ports, not busy-looping when there's no ports but something to wait on, and allow for stopping when nothing is remaining. Accomplishing the latter requires all of the former. * 8sync/agenda.scm (, make-port-remove-request) (port-remove-request port-remove-request?, stop-on-nothing-to-do): New variables. (update-agenda-from-select!): Sleep (via select, currently) when there's no ports in the queue but we still have things scheduled. (start-agenda): New comments ---