[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C9A5AD0.5070804@compro.net>
Date: Wed, 22 Sep 2010 15:36:48 -0400
From: Mark Hounschell <markh@...pro.net>
To: linux-kernel@...r.kernel.org
Subject: line BRK detection on ttyS0
Does the kernel support sending a SIGINT from a line BRK on ttyS0 to a thread of a process
where the process has a controlling terminal that is NOT ttyS0 and the thread is using ttyS0
in a cfmakeraw mode? I see doc that implies that ttyS0 must be the controlling terminal but
can my thread have a controlling terminal while my main process has it's own? My thread
cannot use the \377 \0 \0 char sequence because it is receiving and transmitting 8-bit binary
data. Is there a way for the kernel to inform my thread, not my main process, of a line BRK?
Or a way for my thread to ask the kernel if a line BRK occurred on ttyS0?
Thanks and regards
Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists