Closed Mathutor closed 1 year ago
Where do you get the possible queue sync issue on Linux? I think if this is not something that occurs for everyone, a switch should be put in place to select which "backend" you want to use; multiprocessing or threading.
The threading is also required for Windows to run this library. Running with multiprocessing is problematic as it needs pickle (and copy) the serial object, which isn't the correct thing to do.
I see. I cannot test this myself, so will leave it up for someone else to check it out
I have tested this on Windows, confirming that threading fixes the issue with pickling.
The PPK2_MP can now be used on windows and fixes a possible issue with queue sync on Linux platforms