LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-02-2015, 02:32 PM   #1
YehudaSinger
Member
 
Registered: Jun 2013
Posts: 30

Rep: Reputation: Disabled
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
 
Old 12-03-2015, 09:03 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by YehudaSinger View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to scan LAN with epoll()? chenjintao_ii Linux - Newbie 2 10-21-2014 06:53 AM
Asynchronous I/O and epoll sols2008 Linux - Networking 1 06-28-2011 10:08 PM
Clumsy interface of epoll saurabhth Programming 1 05-27-2009 03:50 PM
epoll jopu Linux - Networking 0 11-05-2007 11:27 PM
epoll problem Parahat Melayev Programming 1 03-17-2005 05:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration