linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* asychronous RTS/DCE/CD notification
@ 2004-03-09  3:53 Jeff
  0 siblings, 0 replies; only message in thread
From: Jeff @ 2004-03-09  3:53 UTC (permalink / raw)
  To: linux-serial

Is it possible in th Linux serial driver to have the state change of 
serial control lines like CD notify a user space app rather then having 
to periodically poll?
I have an app that uses select() to wait for input from several 
different sources. Now, I also want to know when there is a state change 
in CD. Can the serial driver  do this on it's on, like say via a /proc 
file. Or, do I have to break out of the select() every so ofton and use 
ioctl() to test CD's state. God I hate polling.

Jeff


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-09  3:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-09  3:53 asychronous RTS/DCE/CD notification Jeff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).