Fix virtual can backend usage in multithreaded environment
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.8 6.7 6.5
Change-Id: Ic86c8ac1b83b4d7cca43124653ae095dfdaf5655
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>