diff options
author | Joe George <joe@zeroc.com> | 2019-05-07 10:51:58 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2019-05-07 11:12:17 -0400 |
commit | 0199db0b81df4a37fe63069a9fc75e13d880e967 (patch) | |
tree | 48901929000d768d85f0eb350c60e99e962e4d38 /cpp/src/Ice/ObjectAdapterI.cpp | |
parent | Regenerate Xcode projects (diff) | |
download | ice-0199db0b81df4a37fe63069a9fc75e13d880e967.tar.bz2 ice-0199db0b81df4a37fe63069a9fc75e13d880e967.tar.xz ice-0199db0b81df4a37fe63069a9fc75e13d880e967.zip |
Dispatch queue updates
- Remove dispatch queues from Swift APIs
- Create dispatch queue in C++ thread pool (ICE_SWIFT only)
Diffstat (limited to 'cpp/src/Ice/ObjectAdapterI.cpp')
-rw-r--r-- | cpp/src/Ice/ObjectAdapterI.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp index 937c74e54cc..102636af70d 100644 --- a/cpp/src/Ice/ObjectAdapterI.cpp +++ b/cpp/src/Ice/ObjectAdapterI.cpp @@ -735,6 +735,14 @@ Ice::ObjectAdapterI::setPublishedEndpoints(const EndpointSeq& newEndpoints) } } +#ifdef ICE_SWIFT +dispatch_queue_t +Ice::ObjectAdapterI::getDispatchQueue() const ICE_NOEXCEPT +{ + return getThreadPool()->getDispatchQueue(); +} +#endif + bool Ice::ObjectAdapterI::isLocal(const ObjectPrxPtr& proxy) const { |