-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
non-thread-safe and deprecated use of CRT rand #43
Comments
I've decided to break out the thread-safety issue that is specific to Transverb in #45 |
sophiapoirier
added a commit
that referenced
this issue
Jul 20, 2021
…r reuse of engine instances and thereby greatly reduce memory usage (optimizes #43)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The C runtime library function
rand
is deprecated (C++ replacements live in the STL headerrandom
), but more importantly we use it in non-thread-safe fashion in various places in our effects (e.g. randomize parameter value actions can be executed from several threads, like main or MIDI event threads, but the random generator has global state that mutates when generating the next value and is not thread-safe).The text was updated successfully, but these errors were encountered: