bug-hurd
[Top][All Lists]
Advanced

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

Re: io_select support for netfs


From: Marco Gerards
Subject: Re: io_select support for netfs
Date: Sat, 11 Sep 2004 14:47:38 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

tb@becket.net (Thomas Bushnell, BSG) writes:

> Marco Gerards <metgerards@student.han.nl> writes:
>
>> In libnetfs/mutations.h the macro IO_SELECT_REPLY_PORT is not
>> defined.  That means that the netfs_S_io_select function does not get
>> the reply port.
>> 
>> If someone wants to override netfs_S_io_select, the function simply
>> won't work correctly because the reply port is required.  The patch
>> for the console client I sent in yesterday overrides netfs_S_io_select
>> so this change is required in order to make it work correctly.
>
> Be very careful in general with select on network thingies.  This
> doesn't apply to your use, but I want it on the record.  To return
> select true means that you can immediately do I/O with no waiting.
>
> That means that you certainly already have the data to read here on
> the local computer, you cannot reliably expect to read something over
> a network, ever.

The patch is not in CVS yet.  Can it please be committed?  If you
don't have time to do so, I can commit it...

Thanks,
Marco





reply via email to

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