epoll with fifo only working the first time
I'm opening a named fifo with open("fifo", O_RDONLY | O_NONBLOCK) and
adding it to the epoll in edge triggered mode. When another process writes
to the fifo, and I receive the event and read the file descritor it reads
the right amount of bytes in the first time, however it stops working
after that. Should't read mark the poll thingy as read so it can be
triggered once again?
No comments:
Post a Comment