diff --git a/src/python.c b/src/python.c
index 4a828b44c6352c6a3be8c5757b2cc6ddebafb96f..350bd14a34811a710c8d2245edeb1ff7cf017fe4 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.");
}
}