/[Apache-SVN]
ViewVC logotype

Revision 664724


Jump to revision: Previous Next
Author: marc
Date: Wed Jul 19 20:02:22 2006 UTC (18 years, 3 months ago)
Changed paths: 4
Log Message:
More bullet proofing of timer manager

facebook::thrift::concurrency::TimerManager::stop
	Added proper cleanup of unprocessed tasks and shutdown of dispatcher thread to stop

facebook::thrift::concurrency::TimerManager::~TimerManager
	Call stop if manager wasn't explicitly stopped

facebook::thrift::concurrency::test.TimerManagerTest
	Calculate error margin for timeout expiration and verify it's within bounds
	Verify manager stops properly when it goes out of scope
	


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/concurrency/Monitor.cc modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/concurrency/TimerManager.cc modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/concurrency/Util.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/concurrency/test/TimerManagerTests.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26