X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpython.c;h=10ac8f0d149f815fa9d00e54bdda3e0123246029;hb=a0d1ec3873bc43497d9c162fae6eb09d6ea4200a;hp=0fb49d4caa95b737f90afb8ff08cedfbc3282003;hpb=1d7439282ad415e7d1630598becae3109c7d2735;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."); } }