summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2006-07-18 22:54:40 +0000
committerSteve Huston <shuston@riverace.com>2006-07-18 22:54:40 +0000
commit689eb589119d8c6e3f9ead294bbf8779c7dcd186 (patch)
treef1755416542ba8cf0c4c0c76dcb42a842ddff96b /tests
parentca13850501eedfb648a0a81e478afbc9a40e69e0 (diff)
downloadATCD-689eb589119d8c6e3f9ead294bbf8779c7dcd186.tar.gz
ChangeLogTag:Tue Jul 18 22:52:38 UTC 2006 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Message_Queue_Test_Ex.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/Message_Queue_Test_Ex.cpp b/tests/Message_Queue_Test_Ex.cpp
index d699749432e..fd4f714a42b 100644
--- a/tests/Message_Queue_Test_Ex.cpp
+++ b/tests/Message_Queue_Test_Ex.cpp
@@ -91,6 +91,20 @@ struct Queue_Wrapper
// Default constructor.
};
+struct MQ_Ex_N_Tester_Wrapper
+{
+ // = TITLE
+ // Container for data passed to sender in the MQ_Ex_N_Tester
+ // performance test.
+ //
+ // = DESCRIPTION
+ // For use in multithreaded performance test.
+ MQ_Ex_N_Tester *tester_;
+ User_Class *head_send_block_;
+};
+
+#endif /* ACE_HAS_THREADS */
+
// Encapsulates the sent messages creation and destruction
struct Send_Messages
{
@@ -179,20 +193,6 @@ struct Receive_Messages
int number_of_messages_;
};
-struct MQ_Ex_N_Tester_Wrapper
-{
- // = TITLE
- // Container for data passed to sender in the MQ_Ex_N_Tester
- // performance test.
- //
- // = DESCRIPTION
- // For use in multithreaded performance test.
- MQ_Ex_N_Tester *tester_;
- User_Class *head_send_block_;
-};
-
-#endif /* ACE_HAS_THREADS */
-
static int
single_thread_performance_test (void)
{