Hi!

----

I'm currently writing a small application which should use |poll()| on
multiple FIFOs (created via /usr/bin/mkfifo) - after some testing I hit
a weired behaviour: The FIFOs are fed from other processes (one FIFO per
process) which never terminate (e.g. |POLLHUP| not involved) and only
write data from time to time into the FIFOs and the consumer application
uses |poll()| to wait for incoming data. It seems that if the consumer
only reads some data from a FIFO file descriptor and not all queued data
then the |revent| field for this pollfd entry will return |0| on the
following |poll()| call (even if there are still data queued).
Is this the correct behaviour ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to