summaryrefslogtreecommitdiff
path: root/ACE/ace/Dev_Poll_Reactor.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Dev_Poll_Reactor.h')
-rw-r--r--ACE/ace/Dev_Poll_Reactor.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/ACE/ace/Dev_Poll_Reactor.h b/ACE/ace/Dev_Poll_Reactor.h
index 05efadb696a..6b0d99b5e94 100644
--- a/ACE/ace/Dev_Poll_Reactor.h
+++ b/ACE/ace/Dev_Poll_Reactor.h
@@ -67,7 +67,7 @@ class ACE_Dev_Poll_Reactor_Notify : public ACE_Reactor_Notify
{
public:
/// Constructor
- ACE_Dev_Poll_Reactor_Notify (void);
+ ACE_Dev_Poll_Reactor_Notify ();
/**
* @name Initialization and Termination Methods
@@ -78,7 +78,7 @@ public:
virtual int open (ACE_Reactor_Impl *,
ACE_Timer_Queue *timer_queue = 0,
int disable_notify = 0);
- virtual int close (void);
+ virtual int close ();
/**
* Called by a thread when it wants to unblock the Reactor_Impl.
@@ -107,7 +107,7 @@ public:
/// Returns the ACE_HANDLE of the notify pipe on which the reactor
/// is listening for notifications so that other threads can unblock
/// the Reactor_Impl.
- virtual ACE_HANDLE notify_handle (void);
+ virtual ACE_HANDLE notify_handle ();
/// Verify whether the buffer has dispatchable info or not.
virtual int is_dispatchable (ACE_Notification_Buffer &buffer);
@@ -142,7 +142,7 @@ public:
* passed in via the notify queue before breaking out of its event
* loop.
*/
- virtual int max_notify_iterations (void);
+ virtual int max_notify_iterations ();
/**
* Purge any notifications pending in this reactor for the specified
@@ -314,7 +314,7 @@ class ACE_Export ACE_Dev_Poll_Reactor : public ACE_Reactor_Impl
{
public:
/// Constructor.
- Handler_Repository (void);
+ Handler_Repository ();
/// Initialize a repository that can map handles up to the value @a size.
/// Since the event tuples are accessed directly using the handle as
@@ -322,7 +322,7 @@ class ACE_Export ACE_Dev_Poll_Reactor : public ACE_Reactor_Impl
int open (size_t size);
/// Close down the repository.
- int close (void);
+ int close ();
/**
* @name Repository Manipulation Operations
@@ -346,7 +346,7 @@ class ACE_Export ACE_Dev_Poll_Reactor : public ACE_Reactor_Impl
int unbind (ACE_HANDLE handle, bool decr_refcnt = true);
/// Remove all the registered tuples.
- int unbind_all (void);
+ int unbind_all ();
//@}
@@ -431,7 +431,7 @@ public:
int s_queue = ACE_DEV_POLL_TOKEN::FIFO);
/// Close down and release all resources.
- virtual ~ACE_Dev_Poll_Reactor (void);
+ virtual ~ACE_Dev_Poll_Reactor ();
/// Initialization.
virtual int open (size_t size,
@@ -461,7 +461,7 @@ public:
virtual ACE_Timer_Queue *timer_queue () const;
/// Close down and release all resources.
- virtual int close (void);
+ virtual int close ();
// = Event loop drivers.
/**
@@ -522,7 +522,7 @@ public:
* non-zero, @c handle_events() and
* @c handle_alertable_events() return -1 immediately.
*/
- virtual int deactivated (void);
+ virtual int deactivated ();
/**
* Control whether the Reactor will handle any more incoming events
@@ -632,7 +632,7 @@ public:
virtual int suspend_handler (const ACE_Handle_Set &handles);
/// Suspend all handles temporarily.
- virtual int suspend_handlers (void);
+ virtual int suspend_handlers ();
/// Resume event_handler. Use ACE_Event_Handler::get_handle() to
/// get the handle.
@@ -645,16 +645,16 @@ public:
virtual int resume_handler (const ACE_Handle_Set &handles);
/// Resume all handles.
- virtual int resume_handlers (void);
+ virtual int resume_handlers ();
/// Does the reactor allow the application to resume the handle on
/// its own, i.e., can it pass on the control of handle resumption to
/// the application.
- virtual int resumable_handler (void);
+ virtual int resumable_handler ();
/// Return true if we any event associations were made by the reactor
/// for the handles that it waits on, false otherwise.
- virtual bool uses_event_associations (void);
+ virtual bool uses_event_associations ();
// = Timer management.
@@ -760,7 +760,7 @@ public:
* via the notify queue before breaking out of its
* ACE_Message_Queue::dequeue() loop.
*/
- virtual int max_notify_iterations (void);
+ virtual int max_notify_iterations ();
/**
* Purge any notifications pending in this reactor for the specified
@@ -795,17 +795,17 @@ public:
/// Returns true if Reactor has been successfully initialized, else
/// false.
- virtual bool initialized (void);
+ virtual bool initialized ();
/// Returns the current size of the Reactor's internal descriptor
/// table.
virtual size_t size () const;
/// Returns a reference to the Reactor's internal repository lock.
- virtual ACE_Lock &lock (void);
+ virtual ACE_Lock &lock ();
/// Wake up all threads waiting in the event loop.
- virtual void wakeup_all_threads (void);
+ virtual void wakeup_all_threads ();
/// Transfers ownership of Reactor_Impl to the @a new_owner.
/**
@@ -826,7 +826,7 @@ public:
virtual int owner (ACE_thread_t *owner);
/// Get the existing restart value.
- virtual bool restart (void);
+ virtual bool restart ();
/// Set a new value for restart and return the original value.
/**
@@ -848,7 +848,7 @@ public:
/**
* @note This is currently a no-op.
*/
- virtual int requeue_position (void);
+ virtual int requeue_position ();
/**
* @name Low-level wait_set mask manipulation methods
@@ -1096,14 +1096,14 @@ protected:
/// Destructor. This will release the token if it hasn't been
/// released till this point
- ~Token_Guard (void);
+ ~Token_Guard ();
/// Release the token ..
- void release_token (void);
+ void release_token ();
/// Returns whether the thread that created this object owns the
/// token or not.
- bool is_owner (void);
+ bool is_owner ();
/// A helper method that acquires the token 1) at a low priority, and
/// 2) wait quietly for the token, not waking another thread. This
@@ -1162,11 +1162,11 @@ public:
* The destructor decrements the reference count on the event
* handler corresponding to the given handle.
*/
- ~ACE_Dev_Poll_Handler_Guard (void);
+ ~ACE_Dev_Poll_Handler_Guard ();
/// Release the event handler from this guard; when the destructor is
/// called, the handler's reference count will not be decremented.
- void release (void);
+ void release ();
private:
/// The event handler being managed.