Re: epoll vs stdin/stdout

Jamie Lokier (jamie@shareable.org)
Tue, 8 Jul 2003 01:24:44 +0100


Davide Libenzi wrote:
> It has to keep (file*, fd) as hashing key. That will work out just fine.

Do you mean epoll has to use (file*,fd) as the hash key?

> Not even thinking changing the API since it'll break existing apps.

Oh, you're right. I forgot that apps wait for both read & write on
the same network fd... duh! :)

> The above trick will do it. Going to test it ...

Good-oh.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/