Using EPOLL Library
Dear All,
We use the Red-Hat 6.4 with the Linux Kermnel 2.6.32.
We use the pthread library.
We create a pipe where the pipe is a file.
We want that the read operation will block the thread. Henec, we use the EPOLL library.
We get the error code -1 with the message: Operation not permitted.
All the printings after creating he pipe, creating the events using epoll_create(0) instructions.
THanks in advance,
Yehuda
|