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)
committerSebastian Harl <sh@tokkee.org>
Mon, 30 May 2016 19:51:36 +0000 (21:51 +0200)
commit82f6ebad0250c0b8cd0cdf7453fe427fd7b38135
treea662023e104cdbbfa27818a1c4966e4395d7e5db
parentc6da31fb30c2fb1d131f92efcde0b3ec9a010b2c
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