diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-13 22:57:39 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-13 22:57:39 +0200 |
commit | 3da59eac098c1ef9d2c98f2079185ff35c3b6105 (patch) | |
tree | 379c29e09bf55597fe6740cd163478cd1204a181 /ACE/ace/Select_Reactor_T.h | |
parent | fe03724176dcfd20e0f9a6e493198469242be6b6 (diff) | |
download | ATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz |
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/ace/Select_Reactor_T.h')
-rw-r--r-- | ACE/ace/Select_Reactor_T.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ACE/ace/Select_Reactor_T.h b/ACE/ace/Select_Reactor_T.h index dc0fc72a762..2b53af44ea1 100644 --- a/ACE/ace/Select_Reactor_T.h +++ b/ACE/ace/Select_Reactor_T.h @@ -123,10 +123,10 @@ public: virtual ACE_Timer_Queue *timer_queue () const; /// Close down the select_reactor and release all of its resources. - virtual int close (void); + virtual int close (); /// Close down the select_reactor and release all of its resources. - virtual ~ACE_Select_Reactor_T (void); + virtual ~ACE_Select_Reactor_T (); // = Event loop drivers. @@ -182,7 +182,7 @@ public: * actively handling events. If it returns non-zero, <handling_events> and * <handle_alertable_events> return -1 immediately. */ - virtual int deactivated (void); + virtual int deactivated (); /** * Control whether the Reactor will handle any more incoming events or not. @@ -304,7 +304,7 @@ public: virtual int suspend_handler (const ACE_Handle_Set &handles); /// Suspend all the <Event_Handlers> in the Select_Reactor. - virtual int suspend_handlers (void); + virtual int suspend_handlers (); /// Resume a temporarily suspend Event_Handler associated with /// @a eh. @@ -318,7 +318,7 @@ public: virtual int resume_handler (const ACE_Handle_Set &handles); /// Resume all the <Event_Handlers> in the Select_Reactor. - virtual int resume_handlers (void); + virtual int resume_handlers (); /** * Return true if we any event associations were made by the reactor @@ -326,7 +326,7 @@ public: * Select_Reactor does not do any event associations, this function * always return false. */ - virtual bool uses_event_associations (void); + virtual bool uses_event_associations (); // = Timer management. /** @@ -437,10 +437,10 @@ public: * dispatch the ACE_Event_Handlers that are passed in via the * notify pipe before breaking out of its recv loop. */ - virtual int max_notify_iterations (void); + virtual int max_notify_iterations (); /// Get the existing restart value. - virtual bool restart (void); + virtual bool restart (); /// Set a new value for restart and return the original value. virtual bool restart (bool r); @@ -451,7 +451,7 @@ public: /// Get position that the main ACE_Select_Reactor thread is requeued in the /// list of waiters during a <notify> callback. - virtual int requeue_position (void); + virtual int requeue_position (); // = Low-level wait_set mask manipulation methods. /// GET/SET/ADD/CLR the dispatch mask "bit" bound with the @a eh and @@ -478,7 +478,7 @@ public: int ops); /// Wake up all threads in waiting in the event loop - virtual void wakeup_all_threads (void); + virtual void wakeup_all_threads (); // = Only the owner thread can perform a <handle_events>. @@ -514,7 +514,7 @@ public: ACE_Event_Handler ** = 0); /// Returns true if we've been successfully initialized, else false. - virtual bool initialized (void); + virtual bool initialized (); /// Returns the current size of the Reactor's internal descriptor /// table. @@ -527,7 +527,7 @@ public: * deadlock efficiently when ACE_Event_Handlers are used in * multiple threads. */ - virtual ACE_Lock &lock (void); + virtual ACE_Lock &lock (); /// Dump the state of an object. virtual void dump () const; @@ -594,10 +594,10 @@ protected: virtual int any_ready_i (ACE_Select_Reactor_Handle_Set &handle_set); /// Take corrective action when errors occur. - virtual int handle_error (void); + virtual int handle_error (); /// Make sure the handles are all valid. - virtual int check_handles (void); + virtual int check_handles (); /// Wait for events to occur. virtual int wait_for_multiple_events (ACE_Select_Reactor_Handle_Set &, @@ -667,7 +667,7 @@ protected: /// Enqueue ourselves into the list of waiting threads at the /// appropriate point specified by <requeue_position_>. - virtual void renew (void); + virtual void renew (); /// Synchronization token for the MT_SAFE ACE_Select_Reactor. ACE_SELECT_REACTOR_TOKEN token_; @@ -676,7 +676,7 @@ protected: ACE_Lock_Adapter<ACE_SELECT_REACTOR_TOKEN> lock_adapter_; /// Release the token lock when a Win32 structured exception occurs. - int release_token (void); + int release_token (); /// Stops the VC++ compiler from bitching about exceptions and destructors int handle_events_i (ACE_Time_Value *max_wait_time = 0); |