|
Home > Archive > Unix Programming > April 2006 > using select to monitor several file handle, but it is slow
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
using select to monitor several file handle, but it is slow
|
|
|
| Hello, everyone,
I am trying to use select to monitor whether there are input coming
from several file handle. It turns out that this method is quite slow.
Is there any way to improve this?
Thanks a lot!
-Andy
| |
| Ian Collins 2006-04-02, 7:42 pm |
| Andy wrote:
> Hello, everyone,
>
> I am trying to use select to monitor whether there are input coming
> from several file handle. It turns out that this method is quite slow.
> Is there any way to improve this?
>
How do you define slow, what have you measured?
--
Ian Collins.
| |
| Bjorn Reese 2006-04-02, 7:42 pm |
| Andy wrote:
> I am trying to use select to monitor whether there are input coming
> from several file handle. It turns out that this method is quite slow.
> Is there any way to improve this?
Your question is rather vague. However, have a look at:
http://www.kegel.com/c10k.html
--
mail1dotstofanetdotdk
|
|
|
|
|