Chromium Code Reviews
DescriptionExplicitly put serial port fd in non-blocking mode on Chrome OS.
On Chrome OS the serial port is opened by the permission broker service,
which does not open the file descriptor in non-blocking mode. Chrome
should thus explicitly put the file descriptor in this mode to match the
flags set on other platforms.
Since r408467 we have relied on the file being in non-blocking mode to
test for data available as soon as it is open.
BUG=644017
Review-Url: https://codereview.chromium.org/2494513002
Cr-Commit-Position: refs/heads/master@{#431026}
(cherry picked from commit 0366454d38a76aba066b183f2f8132a15e26b385)
Committed: https://chromium.googlesource.com/chromium/src/+/47054374b745e35b7a33e80fd61eea6cb7897d06
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||