minix/minix/servers
David van Moolenbroek de95c84d3e VFS: fix short select(2) timeouts
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
2015-09-16 10:41:46 +00:00
..
devman libvtreefs: API changes/extensions, part 2 2014-11-12 12:13:43 +00:00
ds DS: fix regex memory leaks 2015-08-31 12:55:18 +00:00
input Move all services to /service 2014-07-31 16:00:31 +02:00
ipc Turn PCI into a character driver 2014-11-10 14:43:27 +01:00
is ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
pm Remove support for call profiling 2014-09-30 12:39:03 +00:00
rs procfs: retrieve both RS tables from RS at once 2015-06-29 10:56:30 +00:00
sched sched: simplify 2015-08-31 12:55:30 +00:00
vfs VFS: fix short select(2) timeouts 2015-09-16 10:41:46 +00:00
vm libminixfs: better support for read errors and EOF 2015-08-14 18:39:26 +00:00
Makefile New sources layout 2014-07-31 16:00:30 +02:00
Makefile.inc merge libminlib with libc 2014-08-28 18:49:19 +02:00