Skip to content

[QUESTION] FramedTransport m_sendLock #455

@djmuhlestein

Description

@djmuhlestein

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions