Dewb / monome-rack

VCV Rack plugin for monome Eurorack modules
GNU General Public License v2.0
222 stars 12 forks source link

Ensure inter-module communication for virtual grids is thread safe #42

Closed Dewb closed 2 years ago

Dewb commented 5 years ago

When Rack's thread count is increased past the default of 1, virtual grids will likely crash, because the module-module communication system used by the virtual grids was not designed to be thread-safe.

See here for discussion of potential options: https://llllllll.co/t/ww-mp-es-in-vcvrack/10337/85

Dewb commented 2 years ago

I've been running in multithreaded mode for a few weeks now with no issues. The changes in #69 improve thread safety further, and provide a base to build on for trickier threading scenarios in VCV Rack 2.0. I'm going to close this and open new post-2.0 issues.