summaryrefslogtreecommitdiff
path: root/ACE/protocols/tests/HTBP/Reactor_Tests
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols/tests/HTBP/Reactor_Tests')
-rw-r--r--ACE/protocols/tests/HTBP/Reactor_Tests/client.cpp3
-rw-r--r--ACE/protocols/tests/HTBP/Reactor_Tests/server.cpp20
-rw-r--r--ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h9
3 files changed, 15 insertions, 17 deletions
diff --git a/ACE/protocols/tests/HTBP/Reactor_Tests/client.cpp b/ACE/protocols/tests/HTBP/Reactor_Tests/client.cpp
index d4e8cd6b671..4716ef081c4 100644
--- a/ACE/protocols/tests/HTBP/Reactor_Tests/client.cpp
+++ b/ACE/protocols/tests/HTBP/Reactor_Tests/client.cpp
@@ -2,10 +2,9 @@
* client for a reactor based connection establishment test using HTBP
*/
-#include "ace/Get_Opt.h"
#include "ace/Log_Msg.h"
+#include "ace/Get_Opt.h"
#include "ace/OS_NS_sys_socket.h"
-#include "ace/Synch.h"
#include "ace/HTBP/HTBP_Session.h"
#include "ace/HTBP/HTBP_Stream.h"
diff --git a/ACE/protocols/tests/HTBP/Reactor_Tests/server.cpp b/ACE/protocols/tests/HTBP/Reactor_Tests/server.cpp
index a24011b9fa4..d2bc3bb661a 100644
--- a/ACE/protocols/tests/HTBP/Reactor_Tests/server.cpp
+++ b/ACE/protocols/tests/HTBP/Reactor_Tests/server.cpp
@@ -2,22 +2,22 @@
* server for a reactor based connection establishment test using HTBP
*/
-#include "ace/Get_Opt.h"
-#include "ace/Event_Handler.h"
#include "ace/Log_Msg.h"
-#include "ace/OS_NS_stdio.h"
-#include "ace/OS_NS_unistd.h"
-#include "ace/OS_NS_sys_socket.h"
-#include "ace/os_include/os_netdb.h"
-#include "ace/Reactor.h"
-#include "ace/SOCK_Acceptor.h"
-#include "ace/SOCK_Stream.h"
-#include "ace/Synch.h"
#include "ace/HTBP/HTBP_Session.h"
#include "ace/HTBP/HTBP_Stream.h"
#include "ace/HTBP/HTBP_Addr.h"
+#include "ace/SOCK_Acceptor.h"
+#include "ace/SOCK_Stream.h"
+#include "ace/Event_Handler.h"
+#include "ace/Reactor.h"
+#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
+#include "ace/OS_NS_sys_socket.h"
+#include "ace/os_include/os_netdb.h"
+
unsigned port = 8088;
const ACE_TCHAR *notifier_file = 0;
diff --git a/ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h b/ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h
index b46468ecb4f..3567e4c897f 100644
--- a/ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h
+++ b/ACE/protocols/tests/HTBP/Reactor_Tests/test_config.h
@@ -31,11 +31,10 @@
// This first #undef protects against command-line definitions.
#undef ACE_NDEBUG
#include "ace/streams.h"
-
-#include "ace/ACE.h"
-#include "ace/Log_Msg.h"
#include "ace/Singleton.h"
-#include "ace/Synch_Traits.h"
+#include "ace/Synch.h"
+#include "ace/Log_Msg.h"
+#include "ace/ACE.h"
// The second #undef protects against being reset in a config.h file.
#undef ACE_NDEBUG
@@ -304,7 +303,7 @@ randomize (int array[], size_t size)
}
}
-typedef ACE_Singleton<ACE_Test_Output, ACE_NULL_MUTEX> ace_file_stream;
+typedef ACE_Singleton<ACE_Test_Output, ACE_Null_Mutex> ace_file_stream;
#if defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION)
template ACE_Singleton<ACE_Test_Output, ACE_Null_Mutex> *