perl plugin: lock base thread interpreter in perl_init() too.
authorPavel Rochnyack <pavel2000@ngs.ru>
Fri, 13 May 2016 08:50:31 +0000 (14:50 +0600)
committerPavel Rochnyack <pavel2000@ngs.ru>
Sun, 29 May 2016 06:22:55 +0000 (12:22 +0600)
commite58ebe6738bd29699619010484e085c0bb1f0b68
tree0fcdb4b19dff2cb6d27e8677587e3e62ae627b41
parentaee1cc1a20b3e7f131835fe5d3ba0f5a51cb6731
perl plugin: lock base thread interpreter in perl_init() too.
Avoid race conditions with c_ithread_create() called from threads of already-initialized plugins.
Fix for https://github.com/collectd/collectd/issues/1706.
src/perl.c