Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
Thomas Veerman aba392e630 Clean up and fix multiple bugs in select:
- Remove redundant code.
 - Always wait for the initial reply from an asynchronous select request,
   even if the select has been satisfied on another file descriptor or
   was canceled due to a serious error.
 - Restart asynchronous selects if upon reply from the driver turns out
   that there are deferred operations (and do not forget we're still
   interested in the results of the deferred operations).
 - Do not hang a non-blocking select when another blocking select on
   the same filp is still blocking.
 - Split blocking operations in read, write, and exceptions (i.e.,
   blocking on read does not imply the write will block as well).
 - Some loops would iterate over OPEN_MAX file descriptors instead of
   the "highest" file descriptor.
 - Use proper internal error return values.
 - A secondary reply from a synchronous driver is essentially the same
   as from an asynchronous driver (the only difference being how the 
   answer is received). Merge.
 - Return proper error code after a driver failure.
 - Auto-detect whether a driver is synchronous or asynchronous.
 - Remove some code duplication.
 - Clean up code (coding style, add missing comments, put all select
   related code together).
2011-04-13 13:25:34 +00:00
benchmarks Fixed unixbench Run script 2010-10-25 08:32:14 +00:00
boot csu/build support for ELF 2010-12-10 22:20:12 +00:00
commands LWIP - dhcpd --lwip 2011-04-07 07:44:17 +00:00
common Server/driver protocols: no longer allow third-party copies. 2011-04-11 17:35:05 +00:00
docs Update docs/UPDATING 2011-02-26 23:01:27 +00:00
drivers Server/driver protocols: no longer allow third-party copies. 2011-04-11 17:35:05 +00:00
etc LWIP - scripts 2011-04-07 07:44:23 +00:00
include Move back resolv.h, nameser.h and netdb.h as they conflict with NetBSD headers and libc. 2011-04-08 18:50:58 +00:00
kernel Server/driver protocols: no longer allow third-party copies. 2011-04-11 17:35:05 +00:00
lib Server/driver protocols: no longer allow third-party copies. 2011-04-11 17:35:05 +00:00
man remove fsck1 altogether 2010-12-21 11:00:13 +00:00
nbsd_include [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
servers Clean up and fix multiple bugs in select: 2011-04-13 13:25:34 +00:00
share mk scripts: add flag for compiling with nbsd libc. 2011-03-03 16:41:19 +00:00
test - Refactor mthread structure fields to prevent name clashes 2011-03-18 10:29:54 +00:00
tools release.sh: explicitly use the pkgin pkg_install pkg_add 2011-03-10 12:54:58 +00:00
.gitignore revert r8783, as those entries are auto-generated now 2010-11-17 14:29:32 +00:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile add clean clang libraries target 2011-02-21 16:07:22 +00:00