Replies: 1 comment 1 reply
-
protected override Span<byte> TransceiveFrame(byte unitIdentifier, ModbusFunctionCode functionCode, Action<ExtendedBinaryWriter> extendFrame)
{
// WARNING: IF YOU EDIT THIS METHOD, REFLECT ALL CHANGES ALSO IN TransceiveFrameAsync!
_lock (_frameBuffer)_
{
ushort bytesFollowing = 0;
var frameBuffer = _frameBuffer; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Should synchronization lock be added
to
synchronous sending and receiving for multi-thread safety?Beta Was this translation helpful? Give feedback.
All reactions