thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Meier <>
Subject Re: C++ API and external eventloop
Date Wed, 21 Jul 2010 18:32:47 GMT
Hi erik

just have a look on the TNonblockingServer::serve() function
it uses libevent and might be a starting point for your work:



Am 20.07.2010 21:18, schrieb Erik Fears:
> Thrift users,
> There seems to be a lack of documentation for the C++ implementation. If I'm
> mistaken, please point me in the right direction.
> I want to implement a thrift server in a non-blocking fashion in C++, but I
> want control over my own eventloop (libevent). My daemon has more
> responsibilities than just thrift, so I cannot just call
> thriftServer.serve().
> What's the best approach for this? Is there a model where I can tell thrift
> that there is activity on a socket?
> Thanks,
> --erik

View raw message