1 Aug 2008 12:50
Re: xnpipe EPOLLIN starvation
Filip Van Rillaer <Filip.VanRillaer <at> oneaccess-net.com>
2008-08-01 10:50:12 GMT
2008-08-01 10:50:12 GMT
Hello Philippe, FYI: As I was not 100% sure that the EPOLLET of a read on a fd didn't impact the write on the same fd, I just made a new version of xenopipe (still with epoll) with separate filedescriptors for read and write in the epoll_ctl. So epoll_wait has 4 entries : fd_tty1_read, fd_tty1_write, fd_pipe_read, fd_pipe_write ... but the problem remains. To be able to open a pipe (e.g. /dev/rtp1) once as O_WRONLY and once as O_RDONLY, I had to hack the pipe-code. It would be nice if this would be possible without hacking the code. Best regards, Filip
RSS Feed