From: <ric...@us...> - 2011-10-17 20:27:50
|
Revision: 1158 http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1158&view=rev Author: rich_sposato Date: 2011-10-17 20:27:44 +0000 (Mon, 17 Oct 2011) Log Message: ----------- Replaced call to system with call to cin.get. Modified Paths: -------------- trunk/test/LevelMutex/main.cpp Modified: trunk/test/LevelMutex/main.cpp =================================================================== --- trunk/test/LevelMutex/main.cpp 2011-10-17 20:25:16 UTC (rev 1157) +++ trunk/test/LevelMutex/main.cpp 2011-10-17 20:27:44 UTC (rev 1158) @@ -20,7 +20,7 @@ // ---------------------------------------------------------------------------- -#include "LevelMutex.h" +#include "loki/LevelMutex.h" #include "MultiThreadTests.hpp" #include "Thing.hpp" @@ -642,6 +642,7 @@ int main( int argc, const char * const argv[] ) { + char ender; cout << "Starting LevelMutex tests." << endl; if ( 1 < argc ) @@ -674,7 +675,9 @@ cout << "Caught unknown exception!" << endl; } - ::system( "pause" ); + cout << "Press <Enter> key to continue. "; + cin.get( ender ); + return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |