Refactor TNonblockingServer to use event_base construct
authorMark Slee <mcslee@apache.org>
Mon, 26 Nov 2007 19:05:29 +0000 (19:05 +0000)
committerMark Slee <mcslee@apache.org>
Mon, 26 Nov 2007 19:05:29 +0000 (19:05 +0000)
commit79b1694043e07a673c343c42ad75d72f3b560539
tree617cb13f6ab9b974ded27479c7579b732907bd08
parent7962223ce299bbeb20348b3819a423a72efa2335
Refactor TNonblockingServer to use event_base construct

Summary: This allows the event loop to be shared across different components of a program of for a separate thread in a TNonblockingServer to safely use its own libevent code without conflicts.

Reviewed By: mcslee

Test Plan: Updated test/ committed here

Other Notes: submitted by Ben Maurer, patched in by mcslee with slight modifications

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665364 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/configure.ac
lib/cpp/src/server/TNonblockingServer.cpp
lib/cpp/src/server/TNonblockingServer.h
lib/cpp/src/transport/TTransportUtils.h
test/cpp/src/nb-main.cpp