33 std::once_flag pluginFlag;
34 int setupPluginSystem() {
39 std::shared_ptr<edm::ProcessDesc> addDefaultServicesToProcessDesc(std::shared_ptr<edm::ProcessDesc> iDesc) {
47 std::make_unique<edm::JobReport>(
nullptr)));
63 : forcePluginSetupFirst_(setupPluginSystem()),
64 processor_(addDefaultServicesToProcessDesc(iDesc.processDesc()),
69 auto gil = PyEval_SaveThread();
73 PyEval_RestoreThread(gil);
77 auto gil = PyEval_SaveThread();
82 PyEval_RestoreThread(gil);