[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Nonblocking stdio
- From: Jim Mellander <jmellander@...>
- Date: Thu, 04 May 2006 16:10:54 -0700
I have a lua application on unix which reads from stdio - there is some
significant work it could do if there is no input. I thought about
kludging up a shim which would read from stdio, and write to a socket,
from which my app could read from in non-blocking mode using the
luasocket facilities.
It would be nice if the stdio facilities could use the luasocket
'select' interface, etc. Any ideas?
--
Jim Mellander
Incident Response Manager
Computer Protection Program
Lawrence Berkeley National Laboratory
(510) 486-7204
Your fortune for today is:
QOTD:
"I'll listen to reason when it comes out on CD."