Date: Tue, 16 Mar 1999 15:18:05 -0500 From: Brian McGovern <bmcgover@cisco.com> To: questions@freebsd.org Subject: timeout() as pseudo-interrupts Message-ID: <199903162018.PAA00661@bmcgover-pc.cisco.com>
next in thread | raw e-mail | index | archive | help
We've had an all day discussion here as to whether this is a problem or not... Hopefully someone can shed some light... We're having problems with a terminal driver that uses timeout() to effectively "poll" the hardware. Based on some stack traces we're seeing, it appears that the code called by the back end of timeout is stomping on other tty-level code. Timeout() claims to run the code at spl level 0. However, it _seems_ to be called by hardclock(), which runs at splhigh(). The question is whether this is a good method for simulating poll cycles for TTY-type devices, or whether this will cause problems? -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903162018.PAA00661>