thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Caswell <paul.casw...@hitachivantara.com>
Subject C++ Upgrade from Thrift 0.11.0 to 0.13.0
Date Fri, 15 Nov 2019 10:58:00 GMT
Hello,

We have integrated Thrift version 0.11.0 into our product and are now looking to upgrade to
0.13.0.

Here's the environment:
Windows 2010, Visual Studio 2017, 64bit, Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27034
for x64

Our product uses a threading abstraction derived from boost::thread.

Our server is a TThreadedServer where the thread factory argument is a specialization apache::thrift::concurrency::ThreadFactory.

In version 0.13.0 the threading the server is final and cannot be extended.  This is also
true for apache::thrift::concurrency::Thread. I am therefore struggling to see how to port
our codebase to 0.13.0.  Can someone give me a steer? I'm assuming I'll need to create a specialised
version of TThreadedServer or TServerFramework that takes a factory that creates boost threads.
 Have I got this right?

Any help much appreciated.
Paul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message