Skip to content

Commit

Permalink
add switchable 1 vs 2 thread testee server operation
Browse files Browse the repository at this point in the history
  • Loading branch information
zaphoyd committed Oct 16, 2013
1 parent 57d8e5c commit 8b9fa5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/testee_server/testee_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8b9fa5d

Please sign in to comment.