diff options
| author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-10-19 22:22:23 +0100 |
|---|---|---|
| committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-10-19 22:25:10 +0100 |
| commit | cbfcf24ca27df81f51c0f17f6de0730d03e74655 (patch) | |
| tree | 855ad69b679bb7685296af4c88fa3e7988e7e45d /alisp.org | |
| parent | 030a289497db1fcbd22eafb99d7d8827bca94563 (diff) | |
| download | alisp-cbfcf24ca27df81f51c0f17f6de0730d03e74655.tar.gz alisp-cbfcf24ca27df81f51c0f17f6de0730d03e74655.tar.bz2 alisp-cbfcf24ca27df81f51c0f17f6de0730d03e74655.zip | |
stream: Introduce PIPE type
Main reason to have this at all is to make char-by-char reading
feasible. This occurs at `stream_chunk`, and previously if we passed
in STDIN for `stream_init_file`, STDIN will only terminate once
STREAM_DEFAULT_CHUNK number of characters have been fed into the pipe.
This isn't desirable for STDIN (we really want to read char-by-char
for expressions), nor would it necessarily be desirable in network
applications. So any stream marked STREAM_TYPE_PIPE will only chunk
character-by-character rather than genuine chunks.
Diffstat (limited to 'alisp.org')
0 files changed, 0 insertions, 0 deletions
