LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Using EPOLL Library (https://www.linuxquestions.org/questions/linux-desktop-74/using-epoll-library-4175560450/)

YehudaSinger 12-02-2015 02:32 PM

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

TB0ne 12-03-2015 09:03 AM

Quote:

Originally Posted by YehudaSinger (Post 5458727)
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.

Ok...and since you post NONE of your code or give us details about the file/directory or anything else, what do you think we'll be able to tell you? Read the "Question Guidelines" link in my posting signature.


All times are GMT -5. The time now is 09:04 PM.