On 11/01/2016 14:06, Dimitry Sibiryakov wrote: > 11.01.2016 16:57, Adriano dos Santos Fernandes wrote: >> IPluginBase (base of IExternalEngine) is, and that's what I want to share. > Are you sure that sharing it is a good idea? It means that methods of the > same plugin > object will be called from multiple threads in parallel. Programming of such > plugin will > be much more complex (completely unnecessary in most cases).
If you need to share things, you need to share things, not half-things. > In any case, if you want to share the same plugin among attachments, it is > enough to > keep reference to it in dbb and copy to each att increasing reference > counter. No changes > in API required. > I think it's way more elegant to have a API now that would not be changed when internal limitations (super classic has no purpose other than overcome super server limitations) are fixed. Otherwise you would need to insert configuration options as well the engine support to tell if something would be shared or not, and that would have no purpose in the future. Adriano ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
