Files
rust/library/std
Kornel ce2d95cd75 Demonstrate best practice for feeding stdin of a child processes
It's possible to create a deadlock with stdin/stdout I/O on a single thread:

* the child process may fill its stdout buffer, and have to wait for the parent process to read it,
* but the parent process may be waiting until its stdin write finishes before reading the stdout.

Therefore, the parent process should use separate threads for writing and reading.
2021-03-09 20:47:23 +00:00
..
2020-07-27 19:51:13 -05:00
2020-12-07 15:22:34 +01:00
2020-11-22 17:11:41 -05:00