No description
de95c84d3e
Some select queries require a response from device drivers. If a select call is nonblocking (with a zero timeout), the response to the caller may have to be deferred until all involved drivers have responded to the initial query. This is handled just fine. However, if the select call has a timeout that is so short that it triggers before all the involved drivers have responded, the resulting alarm would be discarded, possibly resulting in the call blocking forever. This fix changes the alarm handler such that if the alarm triggers too early, the select call is further handled as though it was nonblocking. This fix resolves a test77 deadlock on really slow systems. Change-Id: Ib487c8fe436802c3e11c57355ae0c8480721f06e |
||
---|---|---|
bin | ||
common | ||
distrib | ||
docs | ||
etc | ||
external | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
minix | ||
releasetools | ||
sbin | ||
share | ||
sys | ||
tests | ||
tools | ||
usr.bin | ||
usr.sbin | ||
.gitignore | ||
.gitreview | ||
build.sh | ||
LICENSE | ||
Makefile | ||
Makefile.inc |