Rework the shortlived PostgreSQL specific connection channel

In to a generic thing more like (ice-9 futures). Including copying some bits
from the (ice-9 threads) module and adapting them to work with this fibers
approach, rather than futures. The advantage being that using fibers channels
doesn't block the threads being used by fibers, whereas futures would.
This commit is contained in:
Christopher Baines 2020-10-03 21:32:46 +01:00
parent 18b6dd9e6d
commit e2e55c69de
4 changed files with 112 additions and 106 deletions

View file

@ -7,7 +7,9 @@
(scheme-mode
(indent-tabs-mode)
(eval put 'with-time-logging 'scheme-indent-function 1)
(eval put 'make-parameter 'scheme-indent-function 1))
(eval put 'make-parameter 'scheme-indent-function 1)
(eval put 'letpar 'scheme-indent-function 1)
(eval put 'letpar& 'scheme-indent-function 1))
(texinfo-mode
(indent-tabs-mode)
(fill-column . 72)))