Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2000 16:06:57 -0500 (EST)
From:      Luoqi Chen <luoqi@watermarkgroup.com>
To:        freebsd-hackers@FreeBSD.ORG, zzhang@cs.binghamton.edu
Subject:   Re:  Post a signal within an interrupt handler
Message-ID:  <200001052106.QAA01362@lor.watermarkgroup.com>

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
> 
AFAIK it is safe to post a signal in an interrupt context. Maybe it has
more to do with reducing interrupt latency than safety.

-lq


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?200001052106.QAA01362>