On Fri, 11 Mar 2022, Chris Vine <vine24683...@gmail.com> wrote: > On Fri, 11 Mar 2022 09:58:59 -0500 > Olivier Dion <olivier.d...@polymtl.ca> wrote: >> I'm not sure this is related to the functions themself but instead the >> underlying filedescriptor opened iwth ON_NONBLOCK? > > The problem I am referring to is different: it is that delimited > continuations cannot capture C code and ports are written in C. > Suspendable specializations, written in pure scheme, of some of > guile's i/o procedures are therefore provided in > modules/ice-9/suspendable-ports.scm, which is a file worth reading on > its own account, and which are brought into effect (by suppressing the > C-based equivalents) by applying the install-suspendable-ports! > procedure. If your i/o steps out of this set of primitives (see in > particular the port-bindings variable in that file) then it is not > suspendable.
Oh okay! I understand now! -- Olivier Dion Polymtl