Change implementation of readahead in input channels that require it.
authorChris Hanson <org/chris-hanson/cph>
Thu, 5 Jan 1995 23:43:32 +0000 (23:43 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 5 Jan 1995 23:43:32 +0000 (23:43 +0000)
commitb573c333af6218ba95264a1ac0369b152b336bf7
tree9f8460372f5e6cd6b8e52aed9191acb889c14656
parent521be980e7efb4c359ccd9547efe66b9616e9558
Change implementation of readahead in input channels that require it.
Readahead is now buffered in the input queue by means of a new
operation to push a message back onto the head of the queue.  Also,
there is now a mechanism to delay starting the readahead thread until
the first read occurs on the channel -- this is used for input pipes
that are passed to child processes and never read from the Scheme end.
It's important that such pipes not be read from.
v7/src/microcode/os2cthrd.c
v7/src/microcode/os2cthrd.h
v7/src/microcode/os2pipe.c