[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Non-blocking file IO without thread possible ?
- From: Sam Roberts <sroberts@...>
- Date: Fri, 1 Sep 2006 15:02:50 -0700
On Fri, Sep 01, 2006 at 02:29:18PM -0700, gary ng wrote:
> I mean file(actually stdin and stdout as that is the
> input/output to connect to things like openssh or
> pppd). At the moment I can only think of opening a
stdin and stdout aren't files in that case, they are probably pipes. You
can call select() on pipes, so non-blocking is possible. select() on
files doesn't work, so non-blocking i/o on files isn't possible.
Anyhow, check out LuaSocket.