Besides, I think we need "write bytevector from port and return the
successful size".
Just like "write-string!/partial". Now I have to use utf8->string to
convert the bytevector to string.
Why we need such a thing? Because once we introduced Non-Block IO ,we can
not write the whole bytevector in one time. When we get EAGAIN, we must
skip the bytevector size which is successfully written then try again. So
we need a "write-bytevector!/partial" or something else.
Fortunately, we don't need such a thing for Non-Block reading since we have
call-with-bytevector-output-port which could record the size we received
conveniently.

On Fri, Mar 23, 2012 at 9:17 AM, Nala Ginrut <nalagin...@gmail.com> wrote:

>
>
> On Fri, Mar 23, 2012 at 5:36 AM, Neil Jerram <n...@ossau.homelinux.net>wrote:
>
>>  <l...@gnu.org>but I would guess that there are cases
>> where a module isn't already constrained like this, and still might want
>> to use a "do X in N seconds time" function.
>>
>>
>>
> I think this "do X in N seconds time" function would be useful. And it's
> better to provider a "do X in N micro-seconds" too.
>
>

Reply via email to