So I'd like to write a plugin or two that share data between several instances.
so what are the rules for locking globals in C++ in a plugin DLL?
the UI thread is a given, but is the TCPPFruityPlug derived plugin class constructed on that thread context? or some other thread context?
also, i assume the Dispatcher is called from the UI thread - please correct me if I'm wrong.
and now as far as the Render/Effect routines:
i assume that they are all called on a mixing thread if the plugin is thread safe, but what if it isn't? Do all instances of a plugin that are not thread safe share the same mixing thread?
bottom line is i need to know where to lock my globals.
Discuss how to use FL Studio
3 posts • Page 1 of 1
[You can only see part of this thread as you are not logged in to the forums]
FP_PlugClass.h has information about the thread...
thanks again, and thanks for the warning. i was...