Message 1 of 3
RenderPlugin, changing its parameters from another plugin, do I need to use Lock?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a RenderPlugin that use settings that are changed by my main plugin.
Wondering if I need to put in place some mechanism (aka lock pLockObject) to ensure I'm not rendering while the settings are ongoing changes?
Having to put lock is feasible but make the code more complex + slow down the rendering if I need to lock on Render/Overlay method entry.
So, provided the changes are done in my main plugin in response to a command, could I safely assume the Renderer Overlay/Render methods will not be called during that time?
Thanks in advance.
Main Scientist, Full Stack Developer & When Time Permits Director of IDIGO ► On your marks, Set, Go