diff --git a/src/python.c b/src/python.c
index 0fb49d4caa95b737f90afb8ff08cedfbc3282003..10ac8f0d149f815fa9d00e54bdda3e0123246029 100644 (file)
--- a/src/python.c
+++ b/src/python.c
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.");
}
}