[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about an error with ports
From: |
Olivier Dion |
Subject: |
Re: Question about an error with ports |
Date: |
Fri, 11 Mar 2022 12:47:26 -0500 |
On Fri, 11 Mar 2022, Chris Vine <vine24683579@gmail.com> wrote:
> On Fri, 11 Mar 2022 09:58:59 -0500
> Olivier Dion <olivier.dion@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
- Question about an error with ports, Zelphir Kaltstahl, 2022/03/09
- Re: Question about an error with ports, Olivier Dion, 2022/03/10
- Re: Question about an error with ports, Zelphir Kaltstahl, 2022/03/10
- Re: Question about an error with ports, Olivier Dion, 2022/03/10
- Re: Question about an error with ports, Chris Vine, 2022/03/11
- Re: Question about an error with ports, Olivier Dion, 2022/03/11
- Re: Question about an error with ports, Chris Vine, 2022/03/11
- Re: Question about an error with ports,
Olivier Dion <=
- Re: Question about an error with ports, Chris Vine, 2022/03/11
- Re: Question about an error with ports, Maxime Devos, 2022/03/11
- Re: Question about an error with ports, Maxime Devos, 2022/03/11
- Re: Question about an error with ports, Chris Vine, 2022/03/11
- Re: Question about an error with ports, Chris Vine, 2022/03/11
- Re: Question about an error with ports, Maxime Devos, 2022/03/11
- Re: Question about an error with ports, Olivier Dion, 2022/03/11