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.
FL SDK Thread Safe Sharing Between Multiple Plugin instances
Return to “FL Studio Users Forum (Looptalk)”
Forum rules
Please read them here.
Please read them here.
[You can only see part of this thread as you are not logged in to the forums]
-
- Site Admin
- Mon Feb 11, 2019 3:47 pm
Re: FL SDK Thread Safe Sharing Between Multiple Plugin instances
FP_PlugClass.h has information about the thread...
Re: FL SDK Thread Safe Sharing Between Multiple Plugin instances
thanks again, and thanks for the warning. i was...