aboutsummaryrefslogtreecommitdiff
path: root/lib/python/python.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-02 14:31:48 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-02 14:31:48 +0000
commit4ca6dd275393344b9a27cfb2e5a755a4d74a414f (patch)
tree18c8ff764744d643c4835dfb14b1f3123be649a8 /lib/python/python.cpp
parentbfa525d0451df77a28db6ce21ec45f00b89661a8 (diff)
downloadenigma2-4ca6dd275393344b9a27cfb2e5a755a4d74a414f.tar.gz
enigma2-4ca6dd275393344b9a27cfb2e5a755a4d74a414f.zip
add support for python threads (python threads are just running when the mainloop
is idle) add ePythonMessagePump class for interthread communication
Diffstat (limited to 'lib/python/python.cpp')
-rw-r--r--lib/python/python.cpp3
1 files changed, 2 insertions, 1 deletions
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();
}