-
-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Process monitor async write buffering
Based on work originally done by @lispmeister. I brought it up to date and fixed problematic test failures. Add write buffering and asio events for writes to STDIN of the child We now register an asio event on the STDIN file descriptor. We write as much as possible. If we can't write everything we store the ByteSeq in a list together with an offset and set the _stdin_writeable flag to false. Once the OS signals STDIN is writeable again we try to write the chunks stored in the list starting with the head chunk. Closes #945
- Loading branch information
1 parent
258c46a
commit e9d56ae
Showing
2 changed files
with
293 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.