add switchable 1 vs 2 thread testee server operation

This commit is contained in:
Peter Thorson
2013-10-16 08:24:28 -05:00
parent 57d8e5cb6b
commit 8b9fa5db72

View File

@@ -66,6 +66,13 @@ int main() {
// Start the ASIO io_service run loop
testee_server.run();
/*websocketpp::lib::thread t1(&server::run, &testee_server);
websocketpp::lib::thread t2(&server::run, &testee_server);
t1.join();
t2.join();*/
} catch (const std::exception & e) {
std::cout << "exception: " << e.what() << std::endl;
} catch (websocketpp::lib::error_code e) {