/[Apache-SVN]
ViewVC logotype

Revision 665129


Jump to revision: Previous Next
Author: marc
Date: Mon Jun 4 21:01:19 2007 UTC (17 years, 5 months ago)
Changed paths: 4
Log Message:
Modified PosixThreadFactory::PThread:
        Pay attention to detached flags.  If thread is create non-detached and has not been joined when all references are given up,
        (ie boost::share_ptr calls ~PThread) do the join in the destructor to prevent thread ids from being leaked.

Modified ThreadFactoryTests.reapNThreads:
        Loop M times for M threads where M x N is bigger than 32K to verify that thread ids aren't leaked

Modified TimerManager.cpp:
        Removed debug messages.

Reviewed By: mcslee

Revert Plan: revertible

Test Plan: concurrency_test thread-factory passes


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/concurrency/PosixThreadFactory.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/concurrency/PosixThreadFactory.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/concurrency/TimerManager.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26