playdots / UnityPd

Procedural audio generated using unity.
MIT License
55 stars 5 forks source link

Better(i.e. minimal) multithreading handling #7

Closed EddieCameron closed 8 years ago

EddieCameron commented 8 years ago

Still can't find out what is causing our Pd crash reports, but race conditions are a probable cause. libpd/pd is not thread safe, but Unity could be calling it via different threads (audio/mono). This wraps each call from Unity in a lock.

chrisdeaner commented 8 years ago

👍 after curious questions answered

msrubino commented 8 years ago

plz toss the debug log for deanbean and then 👍 , strong anti-threading