Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2000 13:22:00 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-hackers@freebsd.org
Subject:   Post a signal within an interrupt handler
Message-ID:  <Pine.GSO.3.96.1000105131504.22255A-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

While reading the code vfs_aio.c, I find out some comments saying it is
not safe to post a signal from the interrupt handler aio_physwakeup().  So
it calls timeout(9) within that handler and let the timeout routine to
post the signal. I do not understand this. Isn't the timeout mechanism
also driven by an interrupt (clock)? 

Any enlightment is appreciated.

-Zhihui



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.1000105131504.22255A-100000>