From 4ca6dd275393344b9a27cfb2e5a755a4d74a414f Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 2 Jan 2007 14:31:48 +0000 Subject: add support for python threads (python threads are just running when the mainloop is idle) add ePythonMessagePump class for interthread communication --- lib/python/python.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/python/python.cpp') diff --git a/lib/python/python.cpp b/lib/python/python.cpp index b5a7abbf..5ec07dff 100644 --- a/lib/python/python.cpp +++ b/lib/python/python.cpp @@ -121,7 +121,8 @@ ePython::ePython() // Py_OptimizeFlag = 1; Py_Initialize(); - + PyEval_InitThreads(); + init_enigma(); } -- cgit v1.2.3