[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Non-blocking file IO without thread possible ?
- From: gary ng <garyng2000@...>
- Date: Fri, 1 Sep 2006 17:35:40 -0700 (PDT)
--- Sam Roberts <sroberts@bycast.com> wrote:
> 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.
>
thanks but seems that luasocket only support tcp/udp
socket at the moment.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com