diff options
author | Matthew Newhook <matthew@zeroc.com> | 2002-04-19 13:53:47 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2002-04-19 13:53:47 +0000 |
commit | f0c02151c9303175c4009ab831f33db5f4881519 (patch) | |
tree | 734c4789bd489a0cf865440d07f1a1f279a6e8c6 /cpp/test/IceUtil/thread/RWRecMutexTest.cpp | |
parent | cleanup (diff) | |
download | ice-f0c02151c9303175c4009ab831f33db5f4881519.tar.bz2 ice-f0c02151c9303175c4009ab831f33db5f4881519.tar.xz ice-f0c02151c9303175c4009ab831f33db5f4881519.zip |
#ifdef test that causes problems under Linux
Diffstat (limited to 'cpp/test/IceUtil/thread/RWRecMutexTest.cpp')
-rw-r--r-- | cpp/test/IceUtil/thread/RWRecMutexTest.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/test/IceUtil/thread/RWRecMutexTest.cpp b/cpp/test/IceUtil/thread/RWRecMutexTest.cpp index c6704341549..09fff54b7db 100644 --- a/cpp/test/IceUtil/thread/RWRecMutexTest.cpp +++ b/cpp/test/IceUtil/thread/RWRecMutexTest.cpp @@ -430,6 +430,13 @@ RWRecMutexTest::run() // control.join(); + // + // COMPILERBUG: Under Linux with gcc this causes the Mutex test to + // fail for some unknown reason. After spending more than enough + // time looking into this problem it was decided that this is a + // compiler bug of some sort. + // +#if !(defined(__linux) && defined(__GNUC__)) // TEST: Lock upgrading. This time a reader thread is started // first. { @@ -498,4 +505,5 @@ RWRecMutexTest::run() RWRecMutex::RLock rlock2(mutex); } } +#endif } |