jcurl / RJCP.DLL.SerialPortStream

SerialPortStream is an independent implementation of System.IO.Ports.SerialPort and SerialStream for better reliability and maintainability. Default branch is 2.x and now has support for Mono with help of a C library.
Microsoft Public License
639 stars 199 forks source link

Thread Names on Linux #24

Closed splitice closed 7 years ago

splitice commented 7 years ago

On linux the thread names for the UnixNativeSerial threads are too long to be of any use. As a result the two threads are indistinguishable.

Perhaps shorten the prefix to "UNS"

jcurl commented 7 years ago

I assume you mean these two:

m_MonitorThread.Name = "UnixNativeSerial::Monitor_" + m_Name
m_PinThread.Name = "UnixNativeSerial::Pin_" + m_Name;

Have I missed any?

splitice commented 7 years ago

Yes, and those are the two I am aware of.

jcurl commented 7 years ago

Done. Pushed to v2.x.