summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/RTMutex/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTCORBA/RTMutex/server.cpp')
-rw-r--r--TAO/tests/RTCORBA/RTMutex/server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/tests/RTCORBA/RTMutex/server.cpp b/TAO/tests/RTCORBA/RTMutex/server.cpp
index 70c129f16ad..06d416283e1 100644
--- a/TAO/tests/RTCORBA/RTMutex/server.cpp
+++ b/TAO/tests/RTCORBA/RTMutex/server.cpp
@@ -5,6 +5,7 @@
#include "ace/Thread_Manager.h"
#include "ace/High_Res_Timer.h"
#include "ace/Get_Opt.h"
+#include "../check_supported_priorities.cpp"
static int test_try_lock_flag =
#if defined (ACE_HAS_MUTEX_TIMEOUTS) && !defined (ACE_HAS_WTHREADS)
@@ -512,6 +513,10 @@ main (int argc, char *argv[])
// Parse arguments.
if (parse_args (argc, argv) != 0)
return 1;
+
+ // Make sure we can support multiple priorities that are required
+ // for this test.
+ check_supported_priorities (orb.in());
// RTORB.
CORBA::Object_var object =