On Tuesday 16 May 2006 14:16, Roger Oberholtzer wrote:
On Tue, 2006-05-16 at 12:43 +0530, Chaitanya Chalasani wrote:
Hi,
I am using SuSE linux 10.0. To impove performace of network I/O we would like to use poll or epoll. Is it neccesary that /dev/poll and /dev/epoll is required. If so how do we create that devices?
The poll() call has nothing to do with /dev/poll. Where have you seen /dev/poll? In addition to poll(), be sure to look at select(). And SIGIO if you would like the activity to be asynchronous. Meaning that your program can do other things and be interrupted when a monitored port has activity.
Thanks in advance
-- Chaitanya Chalasani ------------------- "The ultimate truths of nature are so subtle that they can be revealed only under immense silence"
I was trying to configure ACE to use epoll for faster I/O, while ./configure it shows that it can find epoll_create but just wondering what is the library file of epoll. -- Chaitanya Chalasani ------------------- "The ultimate truths of nature are so subtle that they can be revealed only under immense silence"