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