diff options
-rw-r--r-- | ChangeLog-97b | 27 | ||||
-rw-r--r-- | ace/ACE_Library.mak | 8 | ||||
-rw-r--r-- | ace/ACE_Library.mdp | bin | 163328 -> 163328 bytes | |||
-rw-r--r-- | ace/Connector.cpp | 6 | ||||
-rw-r--r-- | ace/DEV_Connector.h | 3 | ||||
-rw-r--r-- | ace/DEV_Connector.i | 9 | ||||
-rw-r--r-- | ace/Event_Handler.h | 38 | ||||
-rw-r--r-- | ace/FILE_Connector.h | 3 | ||||
-rw-r--r-- | ace/FILE_Connector.i | 9 | ||||
-rw-r--r-- | ace/OS.h | 1 | ||||
-rw-r--r-- | ace/SOCK_Connector.h | 3 | ||||
-rw-r--r-- | ace/SOCK_Connector.i | 15 | ||||
-rw-r--r-- | ace/SPIPE_Connector.h | 3 | ||||
-rw-r--r-- | ace/SPIPE_Connector.i | 7 | ||||
-rw-r--r-- | ace/Select_Reactor.cpp | 15 | ||||
-rw-r--r-- | ace/TLI_Connector.h | 3 | ||||
-rw-r--r-- | ace/TLI_Connector.i | 9 | ||||
-rw-r--r-- | ace/UPIPE_Connector.h | 3 | ||||
-rw-r--r-- | ace/UPIPE_Connector.i | 10 | ||||
-rw-r--r-- | ace/WFMO_Reactor.cpp | 42 | ||||
-rw-r--r-- | examples/Connection/non_blocking/non_blocking.mak | 200 | ||||
-rw-r--r-- | examples/Connection/non_blocking/non_blocking.mdp | bin | 50176 -> 19152 bytes |
22 files changed, 245 insertions, 169 deletions
diff --git a/ChangeLog-97b b/ChangeLog-97b index 2954c9b3a73..007f8107b8c 100644 --- a/ChangeLog-97b +++ b/ChangeLog-97b @@ -1,3 +1,30 @@ +Sat Oct 04 03:14:46 1997 <irfan@TWOSTEP> + + * ace/WFMO_Reactor.cpp (add_network_events_i): While looking + through all entries in the current (and suspended) handles for a + matching handle, we need to skip those that have been scheduled + for deletion). Also changed ACE_BIT_STRICTLY_ENABLED to + ACE_BIT_ENABLED. + + * ace/Select_Reactor.cpp (bit_ops): Since CONNECT is no longer a + logical OR of READ and WRITE, we have to explicitly make sure + that enable the handle in the correct wait sets. + + * ace/Event_Handler.h: Changed the values of the event + masks. CONNECT is no longer a logical OR of READ and WRITE. It + was its own unique value. + + * ace/OS.h: Removed ACE_BIT_STRICTLY_ENABLED. It did not do what I + thought it would do. + + * ace/Connector.cpp (handle_output): Added code that tries to find + out if the reactor uses event associations for the handles it + waits on. If so we need to reset it. This is necessary for + asynchronous connects. + + * ace/SOCK_Connector.i (reset_new_handle): Added new method on all + connectors to reset event associations of handles. + Fri Oct 03 21:20:26 1997 David L. Levine <levine@cs.wustl.edu> * ace/Makefile: disable INSTALL in $(ACE_ROOT)/ace Makefile, diff --git a/ace/ACE_Library.mak b/ace/ACE_Library.mak index 6222c05865b..759fc4e4121 100644 --- a/ace/ACE_Library.mak +++ b/ace/ACE_Library.mak @@ -7100,6 +7100,8 @@ DEP_CPP_SERVICE=\ {$(INCLUDE)}"\.\Synch_T.i"\
{$(INCLUDE)}"\.\Thread.h"\
{$(INCLUDE)}"\.\Thread.i"\
+ {$(INCLUDE)}"\.\Thread_Manager.h"\
+ {$(INCLUDE)}"\.\Thread_Manager.i"\
{$(INCLUDE)}"\.\Time_Value.h"\
{$(INCLUDE)}"\.\Timer_Queue.h"\
{$(INCLUDE)}"\.\Timer_Queue_T.cpp"\
@@ -13837,6 +13839,8 @@ DEP_CPP_WFMO_=\ {$(INCLUDE)}"\.\Synch_T.i"\
{$(INCLUDE)}"\.\Thread.h"\
{$(INCLUDE)}"\.\Thread.i"\
+ {$(INCLUDE)}"\.\Thread_Manager.h"\
+ {$(INCLUDE)}"\.\Thread_Manager.i"\
{$(INCLUDE)}"\.\Timer_Heap.h"\
{$(INCLUDE)}"\.\Timer_Heap_T.cpp"\
{$(INCLUDE)}"\.\Timer_Heap_T.h"\
@@ -18316,6 +18320,8 @@ DEP_CPP_SERVICE=\ {$(INCLUDE)}"\.\Synch_T.i"\
{$(INCLUDE)}"\.\Thread.h"\
{$(INCLUDE)}"\.\Thread.i"\
+ {$(INCLUDE)}"\.\Thread_Manager.h"\
+ {$(INCLUDE)}"\.\Thread_Manager.i"\
{$(INCLUDE)}"\.\Time_Value.h"\
{$(INCLUDE)}"\.\Timer_Queue.h"\
{$(INCLUDE)}"\.\Timer_Queue_T.cpp"\
@@ -24628,6 +24634,8 @@ DEP_CPP_WFMO_=\ {$(INCLUDE)}"\.\Synch_T.i"\
{$(INCLUDE)}"\.\Thread.h"\
{$(INCLUDE)}"\.\Thread.i"\
+ {$(INCLUDE)}"\.\Thread_Manager.h"\
+ {$(INCLUDE)}"\.\Thread_Manager.i"\
{$(INCLUDE)}"\.\Timer_Heap.h"\
{$(INCLUDE)}"\.\Timer_Heap_T.cpp"\
{$(INCLUDE)}"\.\Timer_Heap_T.h"\
diff --git a/ace/ACE_Library.mdp b/ace/ACE_Library.mdp Binary files differindex c88cdb00eb5..5c35309a86e 100644 --- a/ace/ACE_Library.mdp +++ b/ace/ACE_Library.mdp diff --git a/ace/Connector.cpp b/ace/Connector.cpp index cc583f0cc69..a64c193ce1b 100644 --- a/ace/Connector.cpp +++ b/ace/Connector.cpp @@ -297,6 +297,12 @@ ACE_Connector<SH, PR_CO_2>::handle_output (ACE_HANDLE handle) ACE_ASSERT (ast != 0); // This shouldn't happen! + // Try to find out if the reactor uses event associations for the + // handles it waits on. If so we need to reset it. + int reset_new_handle = this->reactor ()->uses_event_associations (); + if (reset_new_handle) + this->connector_.reset_new_handle (handle); + // Transfer ownership of the ACE_HANDLE to the SVC_HANDLER. ast->svc_handler ()->set_handle (handle); diff --git a/ace/DEV_Connector.h b/ace/DEV_Connector.h index 2639dc2005a..c122bae8efa 100644 --- a/ace/DEV_Connector.h +++ b/ace/DEV_Connector.h @@ -73,6 +73,9 @@ public: // The <flags> and <perms> arguments are passed down to the open() // method. + int reset_new_handle (ACE_HANDLE handle); + // Resets any event associations on this handle + void dump (void) const; // Dump the state of an object. diff --git a/ace/DEV_Connector.i b/ace/DEV_Connector.i index bc3b10f0f08..d8e695b0ba1 100644 --- a/ace/DEV_Connector.i +++ b/ace/DEV_Connector.i @@ -21,3 +21,12 @@ ACE_DEV_Connector::ACE_DEV_Connector (ACE_DEV_IO &new_io, ACE_ERROR ((LM_ERROR, "address %s, %p\n", remote_sap.get_path_name (), "ACE_DEV_IO")); } + +inline int +ACE_DEV_Connector::reset_new_handle (ACE_HANDLE handle) +{ + ACE_UNUSED_ARG (handle); + // Nothing to do here since the handle is not a socket + return 0; +} + diff --git a/ace/Event_Handler.h b/ace/Event_Handler.h index c63e781d6cd..f770e5971c6 100644 --- a/ace/Event_Handler.h +++ b/ace/Event_Handler.h @@ -46,23 +46,29 @@ public: WRITE_MASK = POLLOUT, EXCEPT_MASK = POLLPRI, #else /* USE SELECT */ - READ_MASK = 0x1, - WRITE_MASK = 0x4, - EXCEPT_MASK = 0x2, + READ_MASK = (1 << 0), + WRITE_MASK = (1 << 1), + EXCEPT_MASK = (1 << 2), #endif /* ACE_USE_POLL */ - ACCEPT_MASK = 0x8, - CONNECT_MASK = READ_MASK | WRITE_MASK -#if defined (ACE_WIN32) - | EXCEPT_MASK -#endif /* ACE_WIN32 */ - , - TIMER_MASK = 0x10, - QOS_MASK = 0x20, - GROUP_QOS_MASK = 0x40, - CLOSE_MASK = 0x80, - ALL_EVENTS_MASK = READ_MASK | WRITE_MASK | EXCEPT_MASK | ACCEPT_MASK | QOS_MASK | GROUP_QOS_MASK | CLOSE_MASK, - RWE_MASK = READ_MASK | WRITE_MASK | EXCEPT_MASK, - DONT_CALL = 0x100 + ACCEPT_MASK = (1 << 3), + CONNECT_MASK = (1 << 4), + TIMER_MASK = (1 << 5), + QOS_MASK = (1 << 6), + GROUP_QOS_MASK = (1 << 7), + CLOSE_MASK = (1 << 8), + ALL_EVENTS_MASK = READ_MASK | + WRITE_MASK | + EXCEPT_MASK | + ACCEPT_MASK | + CONNECT_MASK | + TIMER_MASK | + QOS_MASK | + GROUP_QOS_MASK | + CLOSE_MASK, + RWE_MASK = READ_MASK | + WRITE_MASK | + EXCEPT_MASK, + DONT_CALL = (1 << 9) }; virtual ~ACE_Event_Handler (void); diff --git a/ace/FILE_Connector.h b/ace/FILE_Connector.h index 252d5718774..b7c871d3637 100644 --- a/ace/FILE_Connector.h +++ b/ace/FILE_Connector.h @@ -75,6 +75,9 @@ public: // The <flags> and <perms> arguments are passed down to the open() // method. + int reset_new_handle (ACE_HANDLE handle); + // Resets any event associations on this handle + void dump (void) const; // Dump the state of an object. diff --git a/ace/FILE_Connector.i b/ace/FILE_Connector.i index b8b0cf0e3be..04928eaa591 100644 --- a/ace/FILE_Connector.i +++ b/ace/FILE_Connector.i @@ -21,3 +21,12 @@ ACE_FILE_Connector::ACE_FILE_Connector (ACE_FILE_IO &new_io, ACE_ERROR ((LM_ERROR, "address %s, %p\n", remote_sap.get_path_name (), "ACE_FILE_IO")); } + +inline int +ACE_FILE_Connector::reset_new_handle (ACE_HANDLE handle) +{ + ACE_UNUSED_ARG (handle); + // Nothing to do here since the handle is not a socket + return 0; +} + @@ -329,7 +329,6 @@ private: #define ACE_ODD(NUM) (((NUM) & 1) == 1) #define ACE_BIT_ENABLED(WORD, BIT) (((WORD) & (BIT)) != 0) #define ACE_BIT_DISABLED(WORD, BIT) (((WORD) & (BIT)) == 0) -#define ACE_BIT_STRICTLY_ENABLED(WORD, BIT) (((WORD) & (BIT)) == BIT) #define ACE_BIT_CMP_MASK(WORD, BIT, MASK) (((WORD) & (BIT)) == MASK) #define ACE_SET_BITS(WORD, BITS) (WORD |= (BITS)) #define ACE_CLR_BITS(WORD, BITS) (WORD &= ~(BITS)) diff --git a/ace/SOCK_Connector.h b/ace/SOCK_Connector.h index 226e862cb44..661af59c8c3 100644 --- a/ace/SOCK_Connector.h +++ b/ace/SOCK_Connector.h @@ -85,6 +85,9 @@ public: // the connected ACE_SOCK_Stream. If <remote_sap> is non-NULL then it // will contain the address of the connected peer. + int reset_new_handle (ACE_HANDLE handle); + // Resets any event associations on this handle + // = Meta-type info typedef ACE_INET_Addr PEER_ADDR; typedef ACE_SOCK_Stream PEER_STREAM; diff --git a/ace/SOCK_Connector.i b/ace/SOCK_Connector.i index 93618bf464d..8c24fae6988 100644 --- a/ace/SOCK_Connector.i +++ b/ace/SOCK_Connector.i @@ -31,3 +31,18 @@ ACE_SOCK_Connector::ACE_SOCK_Connector (void) { ACE_TRACE ("ACE_SOCK_Connector::ACE_SOCK_Connector"); } + +inline int +ACE_SOCK_Connector::reset_new_handle (ACE_HANDLE handle) +{ + ACE_UNUSED_ARG (handle); +#if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) + // Reset the event association + return ::WSAEventSelect ((SOCKET) handle, + NULL, + 0); +#else /* !defined ACE_HAS_WINSOCK2 */ + return 0; +#endif /* ACE_WIN32 */ +} + diff --git a/ace/SPIPE_Connector.h b/ace/SPIPE_Connector.h index 282836552a9..35dab9bcf43 100644 --- a/ace/SPIPE_Connector.h +++ b/ace/SPIPE_Connector.h @@ -76,6 +76,9 @@ public: // The <flags> and <perms> arguments are passed down to the open() // method. + int reset_new_handle (ACE_HANDLE handle); + // Resets any event associations on this handle + // = Meta-type info typedef ACE_SPIPE_Addr PEER_ADDR; typedef ACE_SPIPE_Stream PEER_STREAM; diff --git a/ace/SPIPE_Connector.i b/ace/SPIPE_Connector.i index 33eeed7bc93..49562933214 100644 --- a/ace/SPIPE_Connector.i +++ b/ace/SPIPE_Connector.i @@ -3,4 +3,11 @@ // SPIPE_Connector.i +inline int +ACE_SPIPE_Connector::reset_new_handle (ACE_HANDLE handle) +{ + ACE_UNUSED_ARG (handle); + // Nothing to do here since the handle is not a socket + return 0; +} diff --git a/ace/Select_Reactor.cpp b/ace/Select_Reactor.cpp index 6c2934ae2e1..99cb7327d60 100644 --- a/ace/Select_Reactor.cpp +++ b/ace/Select_Reactor.cpp @@ -1234,8 +1234,10 @@ ACE_Select_Reactor::bit_ops (ACE_HANDLE handle, // a ACE_Reactor::ADD_MASK we just carry out the operations // specified by the mask. + // READ, ACCEPT, and CONNECT flag will place the handle in the read set if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::READ_MASK) - || ACE_BIT_ENABLED (mask, ACE_Event_Handler::ACCEPT_MASK)) + || ACE_BIT_ENABLED (mask, ACE_Event_Handler::ACCEPT_MASK) + || ACE_BIT_ENABLED (mask, ACE_Event_Handler::CONNECT_MASK)) { (handle_set.rd_mask_.*ptmf) (handle); ACE_SET_BITS (omask, ACE_Event_Handler::READ_MASK); @@ -1243,7 +1245,9 @@ ACE_Select_Reactor::bit_ops (ACE_HANDLE handle, else if (ops == ACE_Reactor::SET_MASK) handle_set.rd_mask_.clr_bit (handle); - if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::WRITE_MASK)) + // WRITE and CONNECT flag will place the handle in the write set + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::WRITE_MASK) + || ACE_BIT_ENABLED (mask, ACE_Event_Handler::CONNECT_MASK)) { (handle_set.wr_mask_.*ptmf) (handle); ACE_SET_BITS (omask, ACE_Event_Handler::WRITE_MASK); @@ -1251,7 +1255,12 @@ ACE_Select_Reactor::bit_ops (ACE_HANDLE handle, else if (ops == ACE_Reactor::SET_MASK) handle_set.wr_mask_.clr_bit (handle); - if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::EXCEPT_MASK)) + // EXCEPT (and CONNECT on Win32) flag will place the handle in the except set + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::EXCEPT_MASK) +#if defined (ACE_WIN32) + || ACE_BIT_ENABLED (mask, ACE_Event_Handler::CONNECT_MASK) +#endif /* ACE_WIN32 */ + ) { (handle_set.ex_mask_.*ptmf) (handle); ACE_SET_BITS (omask, ACE_Event_Handler::EXCEPT_MASK); diff --git a/ace/TLI_Connector.h b/ace/TLI_Connector.h index 4120cccd58d..5714450e380 100644 --- a/ace/TLI_Connector.h +++ b/ace/TLI_Connector.h @@ -91,6 +91,9 @@ public: // the connected ACE_SOCK_Stream. If <remote_sap> is non-NULL then it // will contain the address of the connected peer. + int reset_new_handle (ACE_HANDLE handle); + // Resets any event associations on this handle + void dump (void) const; // Dump the state of an object. diff --git a/ace/TLI_Connector.i b/ace/TLI_Connector.i index 28d12e3952d..1ad9d12e9f2 100644 --- a/ace/TLI_Connector.i +++ b/ace/TLI_Connector.i @@ -25,3 +25,12 @@ ACE_TLI_Connector::ACE_TLI_Connector (ACE_TLI_Stream &new_stream, && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIMEDOUT)) ACE_ERROR ((LM_ERROR, "%p\n", "ACE_TLI_Stream::ACE_TLI_Stream")); } + +inline int +ACE_TLI_Connector::reset_new_handle (ACE_HANDLE handle) +{ + ACE_UNUSED_ARG (handle); + // Nothing to do here since the handle is not a socket + return 0; +} + diff --git a/ace/UPIPE_Connector.h b/ace/UPIPE_Connector.h index 1e29b83270c..32e72c6bebb 100644 --- a/ace/UPIPE_Connector.h +++ b/ace/UPIPE_Connector.h @@ -79,6 +79,9 @@ public: // The <flags> and <perms> arguments are passed down to the open() // method. + int reset_new_handle (ACE_HANDLE handle); + // Resets any event associations on this handle + void dump (void) const; // Dump the state of an object. diff --git a/ace/UPIPE_Connector.i b/ace/UPIPE_Connector.i index 77d7bb3f61e..480305b61da 100644 --- a/ace/UPIPE_Connector.i +++ b/ace/UPIPE_Connector.i @@ -22,7 +22,11 @@ ACE_UPIPE_Connector::ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream, addr.get_path_name (), "ACE_UPIPE_Connector")); } - - - +inline int +ACE_UPIPE_Connector::reset_new_handle (ACE_HANDLE handle) +{ + ACE_UNUSED_ARG (handle); + // Nothing to do here since the handle is not a socket + return 0; +} diff --git a/ace/WFMO_Reactor.cpp b/ace/WFMO_Reactor.cpp index 3fd9616c6aa..3af2789e045 100644 --- a/ace/WFMO_Reactor.cpp +++ b/ace/WFMO_Reactor.cpp @@ -58,28 +58,28 @@ void ACE_WFMO_Reactor_Handler_Repository::remove_network_events_i (long &existing_masks, ACE_Reactor_Mask to_be_removed_masks) { - if (ACE_BIT_STRICTLY_ENABLED (to_be_removed_masks, ACE_Event_Handler::READ_MASK)) + if (ACE_BIT_ENABLED (to_be_removed_masks, ACE_Event_Handler::READ_MASK)) ACE_CLR_BITS (existing_masks, FD_READ); - if (ACE_BIT_STRICTLY_ENABLED (to_be_removed_masks, ACE_Event_Handler::WRITE_MASK)) + if (ACE_BIT_ENABLED (to_be_removed_masks, ACE_Event_Handler::WRITE_MASK)) ACE_CLR_BITS (existing_masks, FD_WRITE); - if (ACE_BIT_STRICTLY_ENABLED (to_be_removed_masks, ACE_Event_Handler::EXCEPT_MASK)) + if (ACE_BIT_ENABLED (to_be_removed_masks, ACE_Event_Handler::EXCEPT_MASK)) ACE_CLR_BITS (existing_masks, FD_OOB); - if (ACE_BIT_STRICTLY_ENABLED (to_be_removed_masks, ACE_Event_Handler::ACCEPT_MASK)) + if (ACE_BIT_ENABLED (to_be_removed_masks, ACE_Event_Handler::ACCEPT_MASK)) ACE_CLR_BITS (existing_masks, FD_ACCEPT); - if (ACE_BIT_STRICTLY_ENABLED (to_be_removed_masks, ACE_Event_Handler::CONNECT_MASK)) + if (ACE_BIT_ENABLED (to_be_removed_masks, ACE_Event_Handler::CONNECT_MASK)) ACE_CLR_BITS (existing_masks, FD_CONNECT); - if (ACE_BIT_STRICTLY_ENABLED (to_be_removed_masks, ACE_Event_Handler::QOS_MASK)) + if (ACE_BIT_ENABLED (to_be_removed_masks, ACE_Event_Handler::QOS_MASK)) ACE_CLR_BITS (existing_masks, FD_QOS); - if (ACE_BIT_STRICTLY_ENABLED (to_be_removed_masks, ACE_Event_Handler::GROUP_QOS_MASK)) + if (ACE_BIT_ENABLED (to_be_removed_masks, ACE_Event_Handler::GROUP_QOS_MASK)) ACE_CLR_BITS (existing_masks, FD_GROUP_QOS); - if (ACE_BIT_STRICTLY_ENABLED (to_be_removed_masks, ACE_Event_Handler::CLOSE_MASK)) + if (ACE_BIT_ENABLED (to_be_removed_masks, ACE_Event_Handler::CLOSE_MASK)) ACE_CLR_BITS (existing_masks, FD_CLOSE); } @@ -818,8 +818,11 @@ ACE_WFMO_Reactor_Handler_Repository::add_network_events_i (ACE_Reactor_Mask mask // First go through the current entries size_t total_entries = this->max_handlep1_; + // Look for all entries in the current handles for matching handle + // (except those that have been scheduled for deletion) for (i = 0; i < total_entries && !found; i++) - if (io_handle == this->current_info_[i].io_handle_) + if (io_handle == this->current_info_[i].io_handle_ && + !this->current_info_[i].delete_entry_) { found = 1; modified_masks = &this->current_info_[i].network_events_; @@ -830,8 +833,11 @@ ACE_WFMO_Reactor_Handler_Repository::add_network_events_i (ACE_Reactor_Mask mask // Then pass through the suspended handles total_entries = this->suspended_handles_; + // Look for all entries in the suspended handles for matching handle + // (except those that have been scheduled for deletion) for (i = 0; i < total_entries && !found; i++) - if (io_handle == this->current_suspended_info_[i].io_handle_) + if (io_handle == this->current_suspended_info_[i].io_handle_ && + !this->current_suspended_info_[i].delete_entry_) { found = 1; modified_masks = &this->current_suspended_info_[i].network_events_; @@ -839,28 +845,28 @@ ACE_WFMO_Reactor_Handler_Repository::add_network_events_i (ACE_Reactor_Mask mask event_handle = this->current_suspended_info_[i].event_handle_; } - if (ACE_BIT_STRICTLY_ENABLED (mask, ACE_Event_Handler::READ_MASK)) + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::READ_MASK)) ACE_SET_BITS (*modified_masks, FD_READ); - if (ACE_BIT_STRICTLY_ENABLED (mask, ACE_Event_Handler::WRITE_MASK)) + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::WRITE_MASK)) ACE_SET_BITS (*modified_masks, FD_WRITE); - if (ACE_BIT_STRICTLY_ENABLED (mask, ACE_Event_Handler::EXCEPT_MASK)) + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::EXCEPT_MASK)) ACE_SET_BITS (*modified_masks, FD_OOB); - if (ACE_BIT_STRICTLY_ENABLED (mask, ACE_Event_Handler::ACCEPT_MASK)) + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::ACCEPT_MASK)) ACE_SET_BITS (*modified_masks, FD_ACCEPT); - if (ACE_BIT_STRICTLY_ENABLED (mask, ACE_Event_Handler::CONNECT_MASK)) + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::CONNECT_MASK)) ACE_SET_BITS (*modified_masks, FD_CONNECT); - if (ACE_BIT_STRICTLY_ENABLED (mask, ACE_Event_Handler::QOS_MASK)) + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::QOS_MASK)) ACE_SET_BITS (*modified_masks, FD_QOS); - if (ACE_BIT_STRICTLY_ENABLED (mask, ACE_Event_Handler::GROUP_QOS_MASK)) + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::GROUP_QOS_MASK)) ACE_SET_BITS (*modified_masks, FD_GROUP_QOS); - if (ACE_BIT_STRICTLY_ENABLED (mask, ACE_Event_Handler::CLOSE_MASK)) + if (ACE_BIT_ENABLED (mask, ACE_Event_Handler::CLOSE_MASK)) ACE_SET_BITS (*modified_masks, FD_CLOSE); new_masks = *modified_masks; diff --git a/examples/Connection/non_blocking/non_blocking.mak b/examples/Connection/non_blocking/non_blocking.mak index b6c56ebfd35..6b543cf63d6 100644 --- a/examples/Connection/non_blocking/non_blocking.mak +++ b/examples/Connection/non_blocking/non_blocking.mak @@ -70,12 +70,26 @@ CLEAN : "$(INTDIR)" : +"$(OUTDIR)" : + +"$(INTDIR)" : + +"$(OUTDIR)\client.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + "$(OUTDIR)\client.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) .c{$(CPP_OBJS)}.obj: .c{$(CPP_SBRS)}.sbr: +.c{$(CPP_OBJS)}.obj: + +.c{$(CPP_SBRS)}.sbr: + +.cpp{$(CPP_OBJS)}.obj: + +.cpp{$(CPP_SBRS)}.sbr: + .cpp{$(CPP_OBJS)}.obj: .cpp{$(CPP_SBRS)}.sbr: @@ -84,6 +98,10 @@ CLEAN : .cxx{$(CPP_SBRS)}.sbr: +.cxx{$(CPP_OBJS)}.obj: + +.cxx{$(CPP_SBRS)}.sbr: + # ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c # ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c CPP_OBJS=.\Debug/ @@ -148,8 +166,26 @@ CLEAN : "$(INTDIR)" : +"$(OUTDIR)" : + +"$(INTDIR)" : + "$(OUTDIR)\server.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) +"$(OUTDIR)\server.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + +.c{$(CPP_OBJS)}.obj: + +.c{$(CPP_SBRS)}.sbr: + +.cpp{$(CPP_OBJS)}.obj: + +.cpp{$(CPP_SBRS)}.sbr: + +.cxx{$(CPP_OBJS)}.obj: + +.cxx{$(CPP_SBRS)}.sbr: + .c{$(CPP_OBJS)}.obj: .cpp{$(CPP_OBJS)}.obj: @@ -222,20 +258,18 @@ CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE"\ SOURCE=.\test_sock_connector.cpp DEP_CPP_TEST_=\ - "..\..\..\ace\config-win32.h"\ ".\CPP-connector.cpp"\ ".\CPP-connector.h"\ {$(INCLUDE)}"\ace\ACE.h"\ {$(INCLUDE)}"\ace\ACE.i"\ {$(INCLUDE)}"\ace\Addr.h"\ {$(INCLUDE)}"\ace\Addr.i"\ - {$(INCLUDE)}"\ace\Asynch_IO.h"\ - {$(INCLUDE)}"\ace\Asynch_IO.i"\ {$(INCLUDE)}"\ace\Atomic_Op.i"\ {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\ {$(INCLUDE)}"\ace\Auto_Ptr.h"\ {$(INCLUDE)}"\ace\Auto_Ptr.i"\ {$(INCLUDE)}"\ace\config-win32-common.h"\ + {$(INCLUDE)}"\ace\config-win32.h"\ {$(INCLUDE)}"\ace\config.h"\ {$(INCLUDE)}"\ace\Connector.cpp"\ {$(INCLUDE)}"\ace\Connector.h"\ @@ -254,15 +288,11 @@ DEP_CPP_TEST_=\ {$(INCLUDE)}"\ace\Handle_Set.i"\ {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\ {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\ - {$(INCLUDE)}"\ace\High_Res_Timer.h"\ - {$(INCLUDE)}"\ace\High_Res_Timer.i"\ {$(INCLUDE)}"\ace\INET_Addr.h"\ {$(INCLUDE)}"\ace\INET_Addr.i"\ {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\ {$(INCLUDE)}"\ace\IPC_SAP.h"\ {$(INCLUDE)}"\ace\IPC_SAP.i"\ - {$(INCLUDE)}"\ace\Local_Tokens.h"\ - {$(INCLUDE)}"\ace\Local_Tokens.i"\ {$(INCLUDE)}"\ace\Log_Msg.h"\ {$(INCLUDE)}"\ace\Log_Priority.h"\ {$(INCLUDE)}"\ace\Log_Record.h"\ @@ -272,6 +302,9 @@ DEP_CPP_TEST_=\ {$(INCLUDE)}"\ace\Malloc_T.cpp"\ {$(INCLUDE)}"\ace\Malloc_T.h"\ {$(INCLUDE)}"\ace\Malloc_T.i"\ + {$(INCLUDE)}"\ace\Managed_Object.cpp"\ + {$(INCLUDE)}"\ace\Managed_Object.h"\ + {$(INCLUDE)}"\ace\Managed_Object.i"\ {$(INCLUDE)}"\ace\Map_Manager.cpp"\ {$(INCLUDE)}"\ace\Map_Manager.h"\ {$(INCLUDE)}"\ace\Map_Manager.i"\ @@ -291,18 +324,15 @@ DEP_CPP_TEST_=\ {$(INCLUDE)}"\ace\Object_Manager.i"\ {$(INCLUDE)}"\ace\OS.h"\ {$(INCLUDE)}"\ace\OS.i"\ - {$(INCLUDE)}"\ace\Pipe.h"\ - {$(INCLUDE)}"\ace\Pipe.i"\ - {$(INCLUDE)}"\ace\Proactor.h"\ - {$(INCLUDE)}"\ace\Proactor.i"\ {$(INCLUDE)}"\ace\Reactor.h"\ {$(INCLUDE)}"\ace\Reactor.i"\ - {$(INCLUDE)}"\ace\ReactorEx.h"\ - {$(INCLUDE)}"\ace\ReactorEx.i"\ + {$(INCLUDE)}"\ace\Reactor_Impl.h"\ {$(INCLUDE)}"\ace\Service_Config.h"\ {$(INCLUDE)}"\ace\Service_Config.i"\ {$(INCLUDE)}"\ace\Service_Object.h"\ {$(INCLUDE)}"\ace\Service_Object.i"\ + {$(INCLUDE)}"\ace\Service_Types.h"\ + {$(INCLUDE)}"\ace\Service_Types.i"\ {$(INCLUDE)}"\ace\Shared_Object.h"\ {$(INCLUDE)}"\ace\Shared_Object.i"\ {$(INCLUDE)}"\ace\Signal.h"\ @@ -348,22 +378,13 @@ DEP_CPP_TEST_=\ {$(INCLUDE)}"\ace\Thread_Manager.h"\ {$(INCLUDE)}"\ace\Thread_Manager.i"\ {$(INCLUDE)}"\ace\Time_Value.h"\ - {$(INCLUDE)}"\ace\Timer_Heap.h"\ - {$(INCLUDE)}"\ace\Timer_Heap_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_Heap_T.h"\ - {$(INCLUDE)}"\ace\Timer_List.h"\ - {$(INCLUDE)}"\ace\Timer_List_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_List_T.h"\ {$(INCLUDE)}"\ace\Timer_Queue.h"\ {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\ {$(INCLUDE)}"\ace\Timer_Queue_T.h"\ {$(INCLUDE)}"\ace\Timer_Queue_T.i"\ - {$(INCLUDE)}"\ace\Timer_Wheel.h"\ - {$(INCLUDE)}"\ace\Timer_Wheel_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_Wheel_T.h"\ - {$(INCLUDE)}"\ace\Token.h"\ - {$(INCLUDE)}"\ace\Token.i"\ {$(INCLUDE)}"\ace\Trace.h"\ + {$(INCLUDE)}"\ace\WFMO_Reactor.h"\ + {$(INCLUDE)}"\ace\WFMO_Reactor.i"\ {$(INCLUDE)}"\ace\ws2tcpip.h"\ @@ -377,20 +398,16 @@ DEP_CPP_TEST_=\ SOURCE=".\CPP-connector.cpp" DEP_CPP_CPP_C=\ - "..\..\..\ace\config-win32.h"\ ".\CPP-connector.cpp"\ ".\CPP-connector.h"\ {$(INCLUDE)}"\ace\ACE.h"\ {$(INCLUDE)}"\ace\ACE.i"\ - {$(INCLUDE)}"\ace\Addr.h"\ - {$(INCLUDE)}"\ace\Addr.i"\ - {$(INCLUDE)}"\ace\Asynch_IO.h"\ - {$(INCLUDE)}"\ace\Asynch_IO.i"\ {$(INCLUDE)}"\ace\Atomic_Op.i"\ {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\ {$(INCLUDE)}"\ace\Auto_Ptr.h"\ {$(INCLUDE)}"\ace\Auto_Ptr.i"\ {$(INCLUDE)}"\ace\config-win32-common.h"\ + {$(INCLUDE)}"\ace\config-win32.h"\ {$(INCLUDE)}"\ace\config.h"\ {$(INCLUDE)}"\ace\Connector.cpp"\ {$(INCLUDE)}"\ace\Connector.h"\ @@ -409,15 +426,7 @@ DEP_CPP_CPP_C=\ {$(INCLUDE)}"\ace\Handle_Set.i"\ {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\ {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\ - {$(INCLUDE)}"\ace\High_Res_Timer.h"\ - {$(INCLUDE)}"\ace\High_Res_Timer.i"\ - {$(INCLUDE)}"\ace\INET_Addr.h"\ - {$(INCLUDE)}"\ace\INET_Addr.i"\ {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\ - {$(INCLUDE)}"\ace\IPC_SAP.h"\ - {$(INCLUDE)}"\ace\IPC_SAP.i"\ - {$(INCLUDE)}"\ace\Local_Tokens.h"\ - {$(INCLUDE)}"\ace\Local_Tokens.i"\ {$(INCLUDE)}"\ace\Log_Msg.h"\ {$(INCLUDE)}"\ace\Log_Priority.h"\ {$(INCLUDE)}"\ace\Log_Record.h"\ @@ -427,6 +436,9 @@ DEP_CPP_CPP_C=\ {$(INCLUDE)}"\ace\Malloc_T.cpp"\ {$(INCLUDE)}"\ace\Malloc_T.h"\ {$(INCLUDE)}"\ace\Malloc_T.i"\ + {$(INCLUDE)}"\ace\Managed_Object.cpp"\ + {$(INCLUDE)}"\ace\Managed_Object.h"\ + {$(INCLUDE)}"\ace\Managed_Object.i"\ {$(INCLUDE)}"\ace\Map_Manager.cpp"\ {$(INCLUDE)}"\ace\Map_Manager.h"\ {$(INCLUDE)}"\ace\Map_Manager.i"\ @@ -446,28 +458,19 @@ DEP_CPP_CPP_C=\ {$(INCLUDE)}"\ace\Object_Manager.i"\ {$(INCLUDE)}"\ace\OS.h"\ {$(INCLUDE)}"\ace\OS.i"\ - {$(INCLUDE)}"\ace\Pipe.h"\ - {$(INCLUDE)}"\ace\Pipe.i"\ - {$(INCLUDE)}"\ace\Proactor.h"\ - {$(INCLUDE)}"\ace\Proactor.i"\ {$(INCLUDE)}"\ace\Reactor.h"\ {$(INCLUDE)}"\ace\Reactor.i"\ - {$(INCLUDE)}"\ace\ReactorEx.h"\ - {$(INCLUDE)}"\ace\ReactorEx.i"\ + {$(INCLUDE)}"\ace\Reactor_Impl.h"\ {$(INCLUDE)}"\ace\Service_Config.h"\ {$(INCLUDE)}"\ace\Service_Config.i"\ {$(INCLUDE)}"\ace\Service_Object.h"\ {$(INCLUDE)}"\ace\Service_Object.i"\ + {$(INCLUDE)}"\ace\Service_Types.h"\ + {$(INCLUDE)}"\ace\Service_Types.i"\ {$(INCLUDE)}"\ace\Shared_Object.h"\ {$(INCLUDE)}"\ace\Shared_Object.i"\ {$(INCLUDE)}"\ace\Signal.h"\ {$(INCLUDE)}"\ace\Signal.i"\ - {$(INCLUDE)}"\ace\SOCK.h"\ - {$(INCLUDE)}"\ace\SOCK.i"\ - {$(INCLUDE)}"\ace\SOCK_IO.h"\ - {$(INCLUDE)}"\ace\SOCK_IO.i"\ - {$(INCLUDE)}"\ace\SOCK_Stream.h"\ - {$(INCLUDE)}"\ace\SOCK_Stream.i"\ {$(INCLUDE)}"\ace\SString.h"\ {$(INCLUDE)}"\ace\SString.i"\ {$(INCLUDE)}"\ace\stdcpp.h"\ @@ -500,23 +503,13 @@ DEP_CPP_CPP_C=\ {$(INCLUDE)}"\ace\Thread.i"\ {$(INCLUDE)}"\ace\Thread_Manager.h"\ {$(INCLUDE)}"\ace\Thread_Manager.i"\ - {$(INCLUDE)}"\ace\Time_Value.h"\ - {$(INCLUDE)}"\ace\Timer_Heap.h"\ - {$(INCLUDE)}"\ace\Timer_Heap_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_Heap_T.h"\ - {$(INCLUDE)}"\ace\Timer_List.h"\ - {$(INCLUDE)}"\ace\Timer_List_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_List_T.h"\ {$(INCLUDE)}"\ace\Timer_Queue.h"\ {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\ {$(INCLUDE)}"\ace\Timer_Queue_T.h"\ {$(INCLUDE)}"\ace\Timer_Queue_T.i"\ - {$(INCLUDE)}"\ace\Timer_Wheel.h"\ - {$(INCLUDE)}"\ace\Timer_Wheel_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_Wheel_T.h"\ - {$(INCLUDE)}"\ace\Token.h"\ - {$(INCLUDE)}"\ace\Token.i"\ {$(INCLUDE)}"\ace\Trace.h"\ + {$(INCLUDE)}"\ace\WFMO_Reactor.h"\ + {$(INCLUDE)}"\ace\WFMO_Reactor.i"\ {$(INCLUDE)}"\ace\ws2tcpip.h"\ @@ -535,7 +528,6 @@ DEP_CPP_CPP_C=\ SOURCE=.\test_sock_acceptor.cpp DEP_CPP_TEST_S=\ - "..\..\..\ace\config-win32.h"\ ".\CPP-acceptor.cpp"\ ".\CPP-acceptor.h"\ {$(INCLUDE)}"\ace\Acceptor.cpp"\ @@ -545,13 +537,12 @@ DEP_CPP_TEST_S=\ {$(INCLUDE)}"\ace\ACE.i"\ {$(INCLUDE)}"\ace\Addr.h"\ {$(INCLUDE)}"\ace\Addr.i"\ - {$(INCLUDE)}"\ace\Asynch_IO.h"\ - {$(INCLUDE)}"\ace\Asynch_IO.i"\ {$(INCLUDE)}"\ace\Atomic_Op.i"\ {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\ {$(INCLUDE)}"\ace\Auto_Ptr.h"\ {$(INCLUDE)}"\ace\Auto_Ptr.i"\ {$(INCLUDE)}"\ace\config-win32-common.h"\ + {$(INCLUDE)}"\ace\config-win32.h"\ {$(INCLUDE)}"\ace\config.h"\ {$(INCLUDE)}"\ace\Containers.cpp"\ {$(INCLUDE)}"\ace\Containers.h"\ @@ -567,15 +558,11 @@ DEP_CPP_TEST_S=\ {$(INCLUDE)}"\ace\Handle_Set.i"\ {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\ {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\ - {$(INCLUDE)}"\ace\High_Res_Timer.h"\ - {$(INCLUDE)}"\ace\High_Res_Timer.i"\ {$(INCLUDE)}"\ace\INET_Addr.h"\ {$(INCLUDE)}"\ace\INET_Addr.i"\ {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\ {$(INCLUDE)}"\ace\IPC_SAP.h"\ {$(INCLUDE)}"\ace\IPC_SAP.i"\ - {$(INCLUDE)}"\ace\Local_Tokens.h"\ - {$(INCLUDE)}"\ace\Local_Tokens.i"\ {$(INCLUDE)}"\ace\Log_Msg.h"\ {$(INCLUDE)}"\ace\Log_Priority.h"\ {$(INCLUDE)}"\ace\Log_Record.h"\ @@ -585,9 +572,9 @@ DEP_CPP_TEST_S=\ {$(INCLUDE)}"\ace\Malloc_T.cpp"\ {$(INCLUDE)}"\ace\Malloc_T.h"\ {$(INCLUDE)}"\ace\Malloc_T.i"\ - {$(INCLUDE)}"\ace\Map_Manager.cpp"\ - {$(INCLUDE)}"\ace\Map_Manager.h"\ - {$(INCLUDE)}"\ace\Map_Manager.i"\ + {$(INCLUDE)}"\ace\Managed_Object.cpp"\ + {$(INCLUDE)}"\ace\Managed_Object.h"\ + {$(INCLUDE)}"\ace\Managed_Object.i"\ {$(INCLUDE)}"\ace\Mem_Map.h"\ {$(INCLUDE)}"\ace\Mem_Map.i"\ {$(INCLUDE)}"\ace\Memory_Pool.h"\ @@ -604,18 +591,15 @@ DEP_CPP_TEST_S=\ {$(INCLUDE)}"\ace\Object_Manager.i"\ {$(INCLUDE)}"\ace\OS.h"\ {$(INCLUDE)}"\ace\OS.i"\ - {$(INCLUDE)}"\ace\Pipe.h"\ - {$(INCLUDE)}"\ace\Pipe.i"\ - {$(INCLUDE)}"\ace\Proactor.h"\ - {$(INCLUDE)}"\ace\Proactor.i"\ {$(INCLUDE)}"\ace\Reactor.h"\ {$(INCLUDE)}"\ace\Reactor.i"\ - {$(INCLUDE)}"\ace\ReactorEx.h"\ - {$(INCLUDE)}"\ace\ReactorEx.i"\ + {$(INCLUDE)}"\ace\Reactor_Impl.h"\ {$(INCLUDE)}"\ace\Service_Config.h"\ {$(INCLUDE)}"\ace\Service_Config.i"\ {$(INCLUDE)}"\ace\Service_Object.h"\ {$(INCLUDE)}"\ace\Service_Object.i"\ + {$(INCLUDE)}"\ace\Service_Types.h"\ + {$(INCLUDE)}"\ace\Service_Types.i"\ {$(INCLUDE)}"\ace\Shared_Object.h"\ {$(INCLUDE)}"\ace\Shared_Object.i"\ {$(INCLUDE)}"\ace\Signal.h"\ @@ -661,22 +645,13 @@ DEP_CPP_TEST_S=\ {$(INCLUDE)}"\ace\Thread_Manager.h"\ {$(INCLUDE)}"\ace\Thread_Manager.i"\ {$(INCLUDE)}"\ace\Time_Value.h"\ - {$(INCLUDE)}"\ace\Timer_Heap.h"\ - {$(INCLUDE)}"\ace\Timer_Heap_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_Heap_T.h"\ - {$(INCLUDE)}"\ace\Timer_List.h"\ - {$(INCLUDE)}"\ace\Timer_List_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_List_T.h"\ {$(INCLUDE)}"\ace\Timer_Queue.h"\ {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\ {$(INCLUDE)}"\ace\Timer_Queue_T.h"\ {$(INCLUDE)}"\ace\Timer_Queue_T.i"\ - {$(INCLUDE)}"\ace\Timer_Wheel.h"\ - {$(INCLUDE)}"\ace\Timer_Wheel_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_Wheel_T.h"\ - {$(INCLUDE)}"\ace\Token.h"\ - {$(INCLUDE)}"\ace\Token.i"\ {$(INCLUDE)}"\ace\Trace.h"\ + {$(INCLUDE)}"\ace\WFMO_Reactor.h"\ + {$(INCLUDE)}"\ace\WFMO_Reactor.i"\ {$(INCLUDE)}"\ace\ws2tcpip.h"\ @@ -690,7 +665,6 @@ DEP_CPP_TEST_S=\ SOURCE=".\CPP-acceptor.cpp" DEP_CPP_CPP_A=\ - "..\..\..\ace\config-win32.h"\ ".\CPP-acceptor.cpp"\ ".\CPP-acceptor.h"\ {$(INCLUDE)}"\ace\Acceptor.cpp"\ @@ -698,15 +672,12 @@ DEP_CPP_CPP_A=\ {$(INCLUDE)}"\ace\Acceptor.i"\ {$(INCLUDE)}"\ace\ACE.h"\ {$(INCLUDE)}"\ace\ACE.i"\ - {$(INCLUDE)}"\ace\Addr.h"\ - {$(INCLUDE)}"\ace\Addr.i"\ - {$(INCLUDE)}"\ace\Asynch_IO.h"\ - {$(INCLUDE)}"\ace\Asynch_IO.i"\ {$(INCLUDE)}"\ace\Atomic_Op.i"\ {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\ {$(INCLUDE)}"\ace\Auto_Ptr.h"\ {$(INCLUDE)}"\ace\Auto_Ptr.i"\ {$(INCLUDE)}"\ace\config-win32-common.h"\ + {$(INCLUDE)}"\ace\config-win32.h"\ {$(INCLUDE)}"\ace\config.h"\ {$(INCLUDE)}"\ace\Containers.cpp"\ {$(INCLUDE)}"\ace\Containers.h"\ @@ -722,15 +693,7 @@ DEP_CPP_CPP_A=\ {$(INCLUDE)}"\ace\Handle_Set.i"\ {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\ {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\ - {$(INCLUDE)}"\ace\High_Res_Timer.h"\ - {$(INCLUDE)}"\ace\High_Res_Timer.i"\ - {$(INCLUDE)}"\ace\INET_Addr.h"\ - {$(INCLUDE)}"\ace\INET_Addr.i"\ {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\ - {$(INCLUDE)}"\ace\IPC_SAP.h"\ - {$(INCLUDE)}"\ace\IPC_SAP.i"\ - {$(INCLUDE)}"\ace\Local_Tokens.h"\ - {$(INCLUDE)}"\ace\Local_Tokens.i"\ {$(INCLUDE)}"\ace\Log_Msg.h"\ {$(INCLUDE)}"\ace\Log_Priority.h"\ {$(INCLUDE)}"\ace\Log_Record.h"\ @@ -740,9 +703,9 @@ DEP_CPP_CPP_A=\ {$(INCLUDE)}"\ace\Malloc_T.cpp"\ {$(INCLUDE)}"\ace\Malloc_T.h"\ {$(INCLUDE)}"\ace\Malloc_T.i"\ - {$(INCLUDE)}"\ace\Map_Manager.cpp"\ - {$(INCLUDE)}"\ace\Map_Manager.h"\ - {$(INCLUDE)}"\ace\Map_Manager.i"\ + {$(INCLUDE)}"\ace\Managed_Object.cpp"\ + {$(INCLUDE)}"\ace\Managed_Object.h"\ + {$(INCLUDE)}"\ace\Managed_Object.i"\ {$(INCLUDE)}"\ace\Mem_Map.h"\ {$(INCLUDE)}"\ace\Mem_Map.i"\ {$(INCLUDE)}"\ace\Memory_Pool.h"\ @@ -759,28 +722,19 @@ DEP_CPP_CPP_A=\ {$(INCLUDE)}"\ace\Object_Manager.i"\ {$(INCLUDE)}"\ace\OS.h"\ {$(INCLUDE)}"\ace\OS.i"\ - {$(INCLUDE)}"\ace\Pipe.h"\ - {$(INCLUDE)}"\ace\Pipe.i"\ - {$(INCLUDE)}"\ace\Proactor.h"\ - {$(INCLUDE)}"\ace\Proactor.i"\ {$(INCLUDE)}"\ace\Reactor.h"\ {$(INCLUDE)}"\ace\Reactor.i"\ - {$(INCLUDE)}"\ace\ReactorEx.h"\ - {$(INCLUDE)}"\ace\ReactorEx.i"\ + {$(INCLUDE)}"\ace\Reactor_Impl.h"\ {$(INCLUDE)}"\ace\Service_Config.h"\ {$(INCLUDE)}"\ace\Service_Config.i"\ {$(INCLUDE)}"\ace\Service_Object.h"\ {$(INCLUDE)}"\ace\Service_Object.i"\ + {$(INCLUDE)}"\ace\Service_Types.h"\ + {$(INCLUDE)}"\ace\Service_Types.i"\ {$(INCLUDE)}"\ace\Shared_Object.h"\ {$(INCLUDE)}"\ace\Shared_Object.i"\ {$(INCLUDE)}"\ace\Signal.h"\ {$(INCLUDE)}"\ace\Signal.i"\ - {$(INCLUDE)}"\ace\SOCK.h"\ - {$(INCLUDE)}"\ace\SOCK.i"\ - {$(INCLUDE)}"\ace\SOCK_IO.h"\ - {$(INCLUDE)}"\ace\SOCK_IO.i"\ - {$(INCLUDE)}"\ace\SOCK_Stream.h"\ - {$(INCLUDE)}"\ace\SOCK_Stream.i"\ {$(INCLUDE)}"\ace\SString.h"\ {$(INCLUDE)}"\ace\SString.i"\ {$(INCLUDE)}"\ace\stdcpp.h"\ @@ -813,23 +767,13 @@ DEP_CPP_CPP_A=\ {$(INCLUDE)}"\ace\Thread.i"\ {$(INCLUDE)}"\ace\Thread_Manager.h"\ {$(INCLUDE)}"\ace\Thread_Manager.i"\ - {$(INCLUDE)}"\ace\Time_Value.h"\ - {$(INCLUDE)}"\ace\Timer_Heap.h"\ - {$(INCLUDE)}"\ace\Timer_Heap_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_Heap_T.h"\ - {$(INCLUDE)}"\ace\Timer_List.h"\ - {$(INCLUDE)}"\ace\Timer_List_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_List_T.h"\ {$(INCLUDE)}"\ace\Timer_Queue.h"\ {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\ {$(INCLUDE)}"\ace\Timer_Queue_T.h"\ {$(INCLUDE)}"\ace\Timer_Queue_T.i"\ - {$(INCLUDE)}"\ace\Timer_Wheel.h"\ - {$(INCLUDE)}"\ace\Timer_Wheel_T.cpp"\ - {$(INCLUDE)}"\ace\Timer_Wheel_T.h"\ - {$(INCLUDE)}"\ace\Token.h"\ - {$(INCLUDE)}"\ace\Token.i"\ {$(INCLUDE)}"\ace\Trace.h"\ + {$(INCLUDE)}"\ace\WFMO_Reactor.h"\ + {$(INCLUDE)}"\ace\WFMO_Reactor.i"\ {$(INCLUDE)}"\ace\ws2tcpip.h"\ diff --git a/examples/Connection/non_blocking/non_blocking.mdp b/examples/Connection/non_blocking/non_blocking.mdp Binary files differindex 7861293ad00..4949e6c3a47 100644 --- a/examples/Connection/non_blocking/non_blocking.mdp +++ b/examples/Connection/non_blocking/non_blocking.mdp |