diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-06-08 11:45:13 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-06-08 11:45:13 +0200 |
commit | 60effe77cfe0bfebc4cae2457ec1fe7463267b2c (patch) | |
tree | afbef2b5bd3192a2f83e8f40bf98a56369da6e65 /python/modules/IcePy/Connection.cpp | |
parent | Fixed Util.py to account for new android location (diff) | |
download | ice-60effe77cfe0bfebc4cae2457ec1fe7463267b2c.tar.bz2 ice-60effe77cfe0bfebc4cae2457ec1fe7463267b2c.tar.xz ice-60effe77cfe0bfebc4cae2457ec1fe7463267b2c.zip |
Fixed ICE-7974 - Python AMI batch oneway requests now return a completed future object
Diffstat (limited to 'python/modules/IcePy/Connection.cpp')
-rw-r--r-- | python/modules/IcePy/Connection.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/python/modules/IcePy/Connection.cpp b/python/modules/IcePy/Connection.cpp index 7375ff71106..af48ede2e53 100644 --- a/python/modules/IcePy/Connection.cpp +++ b/python/modules/IcePy/Connection.cpp @@ -529,8 +529,6 @@ connectionFlushBatchRequestsAsync(ConnectionObject* self, PyObject* args, PyObje try { - AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations. - result = (*self->connection)->begin_flushBatchRequests(cb, callback); } catch(const Ice::Exception& ex) @@ -615,8 +613,6 @@ connectionBeginFlushBatchRequests(ConnectionObject* self, PyObject* args, PyObje Ice::AsyncResultPtr result; try { - AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations. - if(callback) { result = (*self->connection)->begin_flushBatchRequests(cb, callback); @@ -798,8 +794,6 @@ connectionBeginHeartbeat(ConnectionObject* self, PyObject* args, PyObject* kwds) Ice::AsyncResultPtr result; try { - AllowThreads allowThreads; // Release Python's global interpreter lock during remote invocations. - if(cb) { result = (*self->connection)->begin_heartbeat(cb); @@ -907,7 +901,6 @@ connectionSetACM(ConnectionObject* self, PyObject* args) try { - AllowThreads allowThreads; // Release Python's global interpreter lock during blocking invocations. (*self->connection)->setACM(timeout, close, heartbeat); } catch(const Ice::Exception& ex) @@ -935,7 +928,6 @@ connectionGetACM(ConnectionObject* self) try { - AllowThreads allowThreads; // Release Python's global interpreter lock during blocking invocations. acm = (*self->connection)->getACM(); } catch(const Ice::Exception& ex) |