guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add a `read' method for ports


From: Neil Jerram
Subject: Re: [PATCH] Add a `read' method for ports
Date: Mon, 9 Jun 2008 18:01:45 +0100

2008/6/8 Ludovic Courtès <address@hidden>:
> Hello Guilers!
>
> address@hidden (Ludovic Courtès) writes:
>
>> The attached patch aims to allow an `scm_c_read ()' call for N bytes to
>> translate into a `read(2)' for N bytes in the case of unbuffered file
>> ports (such as sockets); it also allows the port's buffer to be bypassed
>> when more data is requested than can fit in the buffer.
>
> I'll commit it to both branches by the end of the week if nobody
> disagrees.
>
> Thanks,
> Ludovic.

Hi Ludovic,

Sorry for not commenting before...  I've reviewed the history, and
started looking through the patches, and I'm feeling (possibly)
confused.  Am I correct in thinking that the "problem" here (which you
are aiming to solve) only affects unbuffered ports?

If that's right, I'm not clear why the solution is involving so much
restructuring - can't it be done without introducing the new "read"
field?

Regards,
     Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]