Cosmetic changes.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1173 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
42d7603724
commit
ec9279e887
1 changed files with 2 additions and 6 deletions
|
@ -14,11 +14,6 @@
|
||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// $Id$
|
|
||||||
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
#include "loki/LevelMutex.h"
|
#include "loki/LevelMutex.h"
|
||||||
|
|
||||||
|
@ -522,7 +517,6 @@ void SingleThreadExceptionTest( void )
|
||||||
ExceptionMutex mutex2a( 2 );
|
ExceptionMutex mutex2a( 2 );
|
||||||
mutex2a.GetMutexPolicy().SetTossPolicy( ExceptionTossingMutex::Never );
|
mutex2a.GetMutexPolicy().SetTossPolicy( ExceptionTossingMutex::Never );
|
||||||
MutexErrors::Type result = MutexErrors::Success;
|
MutexErrors::Type result = MutexErrors::Success;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
mutex1a.Lock();
|
mutex1a.Lock();
|
||||||
|
@ -557,6 +551,7 @@ void SingleThreadExceptionTest( void )
|
||||||
ExceptionMutex mutex2d( 2 );
|
ExceptionMutex mutex2d( 2 );
|
||||||
mutex2d.GetMutexPolicy().SetTossPolicy( ExceptionTossingMutex::Never );
|
mutex2d.GetMutexPolicy().SetTossPolicy( ExceptionTossingMutex::Never );
|
||||||
LevelMutexInfo::MutexContainer mutexes;
|
LevelMutexInfo::MutexContainer mutexes;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
mutexes.push_back( &mutex2a );
|
mutexes.push_back( &mutex2a );
|
||||||
|
@ -587,6 +582,7 @@ void SingleThreadExceptionTest( void )
|
||||||
ExceptionMutex mutex3b( 3 );
|
ExceptionMutex mutex3b( 3 );
|
||||||
mutex3b.GetMutexPolicy().SetTossPolicy( ExceptionTossingMutex::Never );
|
mutex3b.GetMutexPolicy().SetTossPolicy( ExceptionTossingMutex::Never );
|
||||||
mutexes.clear();
|
mutexes.clear();
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
mutexes.push_back( &mutex3a );
|
mutexes.push_back( &mutex3a );
|
||||||
|
|
Loading…
Reference in a new issue