r1347@opsdev009 (orig r71314): mcslee | 2007-11-26 11:05:29 -0800
commit37f34418adc76de97365ef7008a0a1f3f3e1dba8
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Mon, 26 Nov 2007 19:09:15 +0000 (26 19:09 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Mon, 26 Nov 2007 19:09:15 +0000 (26 19:09 +0000)
tree617cb13f6ab9b974ded27479c7579b732907bd08
parent0a3382199080ce796fcb1f48f4d4620c0281cddd
 r1347@opsdev009 (orig r71314):  mcslee | 2007-11-26 11:05:29 -0800
 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: http://svn.facebook.com/svnroot/thrift/trunk@692 41a61cd8-c433-0410-bb1c-e256eeef9e11
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