PyVESC icon indicating copy to clipboard operation
PyVESC copied to clipboard

Thread safety

Open SimonRoy16 opened this issue 2 years ago • 1 comments

You should add a lock in the write function, to avoid thread collisions between the heartbeat and user issued commands.

SimonRoy16 avatar Nov 19 '24 15:11 SimonRoy16

For those in need of a fix: https://github.com/SimonRoy16/PyVESC/commit/b4ca0dfd05b37124d18a4542d3a1911abfa9562a

SimonRoy16 avatar Aug 14 '25 13:08 SimonRoy16