[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
select() and serial drivers
- Date: Mon, 17 Jul 2000 23:15:33 +0300 (EETDST)
- From: antti.p.miettinen at nokia.com (Antti P Miettinen)
- Subject: select() and serial drivers
> If you're starting to write a new application, in many cases it's better
> to use one thread per socket/tty instead of using select(). A call to
> select() is quite expensive (and not only on RTEMS, but on vxWorks and
> Linux, too).
Hmm.. thats a surprise to me. How does the price of a context switch
compare?
What are the alternatives for waiting for multiple IO sources? I've
grown to like single threaded applications :)
Antti Miettinen
Nokia Networks