summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-01-05 13:20:56 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-01-05 13:20:56 +0100
commit79e8b2ebe936cf19477380842f40d32191c16bc2 (patch)
tree89189aeb0d8ff9adb2badd2fc53c055d5465b45a
parent78006062ece6be12eba3e81471961c74743ba071 (diff)
downloadATCD-79e8b2ebe936cf19477380842f40d32191c16bc2.tar.gz
Removed ACE_ENDLESS_LOOP, not used
* ACE/ace/Global_Macros.h: * ACE/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp:
-rw-r--r--ACE/ace/Global_Macros.h4
-rw-r--r--ACE/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp2
2 files changed, 0 insertions, 6 deletions
diff --git a/ACE/ace/Global_Macros.h b/ACE/ace/Global_Macros.h
index 2ad696e42cf..9fb08937334 100644
--- a/ACE/ace/Global_Macros.h
+++ b/ACE/ace/Global_Macros.h
@@ -57,10 +57,6 @@
# define ACE_SET_BITS(WORD, BITS) (WORD |= (BITS))
# define ACE_CLR_BITS(WORD, BITS) (WORD &= ~(BITS))
-# if !defined (ACE_ENDLESS_LOOP)
-# define ACE_ENDLESS_LOOP
-# endif /* ! ACE_ENDLESS_LOOP */
-
#if !defined (ACE_HAS_CPP11)
# error ACE/TAO require C++11 compliance, please upgrade your compiler and/or fix the platform configuration for your environment
#endif /* !ACE_HAS_CPP11 */
diff --git a/ACE/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp b/ACE/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp
index cb4516b7b4d..9b3d40111bd 100644
--- a/ACE/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp
+++ b/ACE/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp
@@ -181,8 +181,6 @@ ACE_TMAIN (int, ACE_TCHAR *[])
for (size_t n_handles = 1;;)
{
- ACE_ENDLESS_LOOP
-
// Wait for client I/O events (handle interrupts).
while (ACE_OS::poll (poll_array, n_handles) == -1
&& errno == EINTR)