test/ApplicationPoolTest.cpp in colouringcode-passenger-0.1 vs test/ApplicationPoolTest.cpp in colouringcode-passenger-0.2
- old
+ new
@@ -180,10 +180,10 @@
Application::SessionPtr session1(spawnRackApp(pool, "stub/rack"));
Application::SessionPtr session2(spawnRackApp(pool2, "stub/rack"));
Application::SessionPtr session3;
bool done;
- shared_ptr<thread> thr = ptr(new thread(PoolWaitTestThread(pool2, session3, done)));
+ shared_ptr<boost::thread> thr = ptr(new boost::thread(PoolWaitTestThread(pool2, session3, done)));
usleep(500000);
ensure("ApplicationPool is still waiting", !done);
ensure_equals(pool->getActive(), 2u);
ensure_equals(pool->getCount(), 2u);