summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'py/modules/IcePy/Util.cpp')
-rw-r--r--py/modules/IcePy/Util.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/py/modules/IcePy/Util.cpp b/py/modules/IcePy/Util.cpp
index f965124154f..dafe4057ff7 100644
--- a/py/modules/IcePy/Util.cpp
+++ b/py/modules/IcePy/Util.cpp
@@ -355,26 +355,6 @@ IcePy::PyException::getTypeName()
return result;
}
-IcePy::AllowThreads::AllowThreads()
-{
- _state = PyEval_SaveThread();
-}
-
-IcePy::AllowThreads::~AllowThreads()
-{
- PyEval_RestoreThread(_state);
-}
-
-IcePy::AdoptThread::AdoptThread()
-{
- _state = PyGILState_Ensure();
-}
-
-IcePy::AdoptThread::~AdoptThread()
-{
- PyGILState_Release(_state);
-}
-
bool
IcePy::listToStringSeq(PyObject* l, Ice::StringSeq& seq)
{