diff options
author | Tobias Koenig <tobias.koenig@kdab.com> | 2024-06-03 08:12:11 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-06-07 03:12:49 +0000 |
commit | 647671ebdb89b433964b6558599da11a42b3489a (patch) | |
tree | 6805f4d44b3d376bb83e7f5375b8852c95e47af4 /examples/serialbus/modbus/client/settingsdialog.ui | |
parent | 559ebec19857f9465e7ecccb4e9d4b40aa4153f4 (diff) |
Fix virtual can backend usage in multithreaded environment6.7
Protect the creation and start of the VirtualCanServer with a mutex,
so that no race conditions can occur when two QCanBusDevices with qtvirtualcan
backend are instantiated in the same process in different threads.
[ChangeLog][CAN Bus][Virtual CAN] Fixed a race condition
during creation of the VirtualCanServer when two QCanBusDevices
are instantiated in the same process in different threads
Pick-to: 6.5
Change-Id: Ic86c8ac1b83b4d7cca43124653ae095dfdaf5655
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 553ed89c2145cf79a3b30ec7c664281ea169001d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 689c02d51ae1335d8142374032c39bbf4892d1d1)
Diffstat (limited to 'examples/serialbus/modbus/client/settingsdialog.ui')
0 files changed, 0 insertions, 0 deletions