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
Uh oh!
There was an error while loading. Please reload this page.
-
Should synchronization lock be added
tosynchronous sending and receiving for multi-thread safety?Beta Was this translation helpful? Give feedback.
All reactions