Change method by which port errors are signalled. Previously a
authorChris Hanson <org/chris-hanson/cph>
Sun, 10 Mar 1991 22:43:02 +0000 (22:43 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sun, 10 Mar 1991 22:43:02 +0000 (22:43 +0000)
commit70104f4c78d9e780e15f74dd7b16e1f2b2d3d3f5
treedcd00f188d6182b0924b7b533027a79d84c6fc61
parentaf2f7565e699583fd67e26a313b203157599e498
Change method by which port errors are signalled.  Previously a
condition handler was bound for every I/O operation, which made I/O
painfully slow as each binding cost at least one hundred machine
instructions.  Now, an I/O channel can have an associated port, and
when a system-call error occurs, the file descriptor associated with
the error is mapped back to the associated port, if any, and a port
error is signalled instead.
v7/src/runtime/io.scm
v7/src/runtime/runtime.pkg
v7/src/runtime/uerror.scm
v7/src/runtime/version.scm
v8/src/runtime/runtime.pkg