X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpython.c;h=10ac8f0d149f815fa9d00e54bdda3e0123246029;hb=aee87d9c1665ca8823c7489bfc9900ff12e0e177;hp=0fb49d4caa95b737f90afb8ff08cedfbc3282003;hpb=9cbc0fe63abd2bd3658b42f19ee144f803b658fa;p=collectd.git diff --git a/src/python.c b/src/python.c index 0fb49d4c..10ac8f0d 100644 --- a/src/python.c +++ b/src/python.c @@ -933,7 +933,7 @@ static int cpy_init(void) { pthread_sigmask(SIG_BLOCK, &sigset, NULL); state = PyEval_SaveThread(); if (do_interactive) { - if (pthread_create(&thread, NULL, cpy_interactive, NULL)) { + if (plugin_thread_create(&thread, NULL, cpy_interactive, NULL)) { ERROR("python: Error creating thread for interactive interpreter."); } }