In the "Guidelines and rules for plugins" is this statement: "Obviously [plugins] must not access memory locations that
other threads could modify [while the mutex lock is not taken], so
they should only access local variables, not class variables
(which includes the parameter library)".
I think it should be OK to access member variables of the
plugin class (i.e. the class derived from NDPluginDriver), in
addition to local (stack) variables. And I presume that by "class
variables" what's meant is members that are generally referred to in
C++ as static member variables. Am I correct?
Cheers,
Phil
-- Pixel
Analytics is a limited company registered in England.
Company number: 7747526; Registered office: 93A New Road,
Haslingfield, Cambridge CB23 1LP