>>>>> "Harald" == Harald Hanche-Olsen <[EMAIL PROTECTED]> writes:
Harald> Nah. You can open it nonblocking. Works fine on freebsd, which you
Harald> say you are using:
CL-USER> (defparameter *fifofd* (unix:unix-open
Harald> "/tmp/fifo"
Harald> (logior unix:o_rdonly unix:o_nonblock)
Harald> #o444))
Harald> *fifofd*
CL-USER> *fifofd*
Harald> 8
CL-USER> (defparameter *fifo* (system:make-fd-stream *fifofd* :input t))
Harald> *fifo*
Harald> Now *fifo* is an ordinary Lisp stream which you can read to your
Harald> heart's content.
By doing this, does it mean that now all reads from that fifo need to
be checked to see if anything was actually read? Or, perhaps, than we
have Lisp read the stream, 100% CPU will be spent constantly reading
the fifo until something is available?
Just curious,
Ray