Anna Henningsen f2338ed195
doc: fix up warning text about character devices
The text contained a number of inaccuracies:

- The main thread is never blocked by a stream close.
- There is no such thing as an EOF character on the OS level,
  the libuv level, or the Node.js stream level.
- These streams *do* respond to `.close()`, but pending
  reads can delay this indefinitely.
- Pushing a random character into the stream works only when
  the source data can be controlled; Using the JS `.push()`
  method is something different, and does not “unblock” any threads.

Refs: https://github.com/nodejs/node/pull/21212

PR-URL: https://github.com/nodejs/node/pull/22569
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2018-08-31 19:15:57 +02:00
..
2018-08-18 11:15:37 +03:00
2018-07-15 23:57:35 +03:00
2018-07-15 23:57:35 +03:00
2018-07-14 22:57:03 +03:00
2018-07-14 22:57:03 +03:00
2018-05-02 06:17:08 +03:00
2018-07-14 22:57:03 +03:00
2018-07-15 23:57:35 +03:00
2018-07-15 23:57:35 +03:00