MultiprocessPluginManager

Role

Defines a plugin manager that runs all plugins in separate process linked by pipes.

API

class yapsy.MultiprocessPluginManager.MultiprocessPluginManager(categories_filter=None, directories_list=None, plugin_info_ext=None, plugin_locator=None)

Subclass of the PluginManager that runs each plugin in a different process

instanciateElement(element)

This method instanciate each plugin in a new process and link it to the parent with a pipe.

In the parent process context, the plugin’s class is replaced by the MultiprocessPluginProxy class that hold the information about the child process and the pipe to communicate with it. See IMultiprocessChildPlugin