-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Labels
Description
For my application I wanted to extend FramedTransport for a custom UART transport. In the Underlying send/receive, I think use the uart hardware similar to the way the uart zephyr transport works. I noticed that m_sendLock is not used in FramedTransport though. The zephyr port doesn't use it either. The only other two classes that do use it are the MUTransport and MBoxTransport but those classes extend Transport directly and have their own m_sendLock.
So, is this an error in FramedTransport? Should I simply Lock m_sendLock in my underlyingSend function or should FramedTransport be patched to correct this. My underlying uart hw is definitely not thread safe.