Comments (2)
To be thread safe, you must store the information in the modbus context (so not enabled by default to avoid overhead) and the modbus context must be protected if shared.
PS: mb_param was the context name used in libmodbus 2.0, I hope you work with libmodbus 3.x
from libmodbus.
Oh and it's a question not a libmodbus issue so I'm closing it.
You can use the mailing list to talk about that.
from libmodbus.
Related Issues (20)
- Missing documentation of `errno` values corresponding to Modbus exception codes HOT 2
- Behaviour of MODBUS_ERROR_RECOVERY_LINK HOT 4
- Broken pipe after Modbus TCP/RTU gateway reboot HOT 3
- With TCP, `modbus_connect()` returns -1 on timeout but does not set `errno`
- facing crash in libmodbus library
- Multiple slaves on the same port. HOT 1
- modbus_rtu_set_serial_mode needs additional flags HOT 1
- heap-buffer-overflow in in `modbus_write_bits` HOT 1
- Invalid CRC HOT 4
- Handling Multiple Slave Addresses with libmodbus on a Single Interface
- A deep heap buffer overflow vulnerability exists in modbus_mapping_free HOT 2
- The value of the ctx->backend pointer has been accidentally modified, leading to a Use-After-Free (UAF) vulnerability HOT 3
- unit-test-server crashes with invalid pointer HOT 4
- Baud rate higher than 38400 causes Invalid Argument HOT 4
- compile error HOT 2
- Bugs on libmodbus_src HOT 1
- modbus_receive() function returns -1 on USB serial port (TTL level) devices HOT 1
- Bad error message "Operation now in progress" for connection timeouts after modbus_set_response_timeout() HOT 2
- Clarification on memory layout in _modbus_mapping_t.tab_registers HOT 1
- Buffer overflow after several repeated connections between master and slave using the tcp protocol. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libmodbus.