Support PinChangedEvent on Unix (dotnet/corefx#40383)
authorKrzysztof Wicher <mordotymoja@gmail.com>
Thu, 24 Oct 2019 22:06:34 +0000 (15:06 -0700)
committerGitHub <noreply@github.com>
Thu, 24 Oct 2019 22:06:34 +0000 (15:06 -0700)
commit98361c13a0d5d71c412aece04ac9c84bda316a31
treeb107bd56bbe52ddf1b7a62c52da99a1bef013b0b
parent732ea0936057d4f878a40965adef0f0d2bf849b7
Support PinChangedEvent on Unix (dotnet/corefx#40383)

* Support PinChangedEvent on Unix

* address PR feedback

* Fix typo in RaisePinChanged

Commit migrated from https://github.com/dotnet/corefx/commit/3dae29b60e6f0707b60f831ce77286de75ef8958
src/libraries/Native/Unix/System.IO.Ports.Native/pal_termios.c
src/libraries/Native/Unix/System.IO.Ports.Native/pal_termios.h
src/libraries/System.IO.Ports/src/Interop/Unix/Interop.Termios.cs
src/libraries/System.IO.Ports/src/System/IO/Ports/SerialStream.Unix.cs
src/libraries/System.IO.Ports/src/System/IO/Ports/SerialStream.Windows.cs
src/libraries/System.IO.Ports/src/System/IO/Ports/SerialStream.cs