From d55d73c7050e6452f18678e60b42a088175cb7ce Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 12 Aug 2014 18:16:36 +0000 Subject: Minor tweak to the read/write mutex test. --- src/tests/readwritemutex.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests') diff --git a/src/tests/readwritemutex.cpp b/src/tests/readwritemutex.cpp index 7116da2..3e13e7a 100644 --- a/src/tests/readwritemutex.cpp +++ b/src/tests/readwritemutex.cpp @@ -50,6 +50,7 @@ protected: usleep( rand.rand(1000000) ); while( bRunning ) { + dispUpd( ind, '.' ); mRW.lockWrite(); dispUpd( ind, 'W' ); // println("Writer %1 locking.").arg( iId ); @@ -87,6 +88,7 @@ protected: usleep( rand.rand(1000000) ); while( bRunning ) { + dispUpd( ind, '.' ); mRW.lockRead(); dispUpd( ind, 'R' ); // println("Reader %1 locking.").arg( iId ); -- cgit v1.2.3