summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog16
-rw-r--r--ChangeLogs/ChangeLog-02a16
-rw-r--r--ChangeLogs/ChangeLog-03a16
-rw-r--r--ace/Asynch_Acceptor.h23
-rw-r--r--ace/Functor.h2
-rw-r--r--ace/Message_Queue.h61
-rw-r--r--ace/Module.h3
-rw-r--r--ace/Thread_Manager.h26
8 files changed, 125 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog
index fb7cdc9d607..24dc51e1771 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+Wed Apr 17 07:28:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * examples/DLL/Newsweek.cpp:
+ * examples/DLL/Today.cpp:
+ Added include of svc_export.h.
+
+ * tests/Proactor_Test.cpp:
+ Fixed fuzz and unicode error
+
+ * ace/Asynch_Acceptor.h:
+ * ace/Functor.h:
+ * ace/Message_Queue.h:
+ * ace/Module.h:
+ * ace/Thread_Manager.h:
+ Doxygen-ized some of the comments
+
Tue Apr 16 23:32:49 2002 Steve Huston <shuston@riverace.com>
* ace/ace_dll.dsp:
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index fb7cdc9d607..24dc51e1771 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,19 @@
+Wed Apr 17 07:28:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * examples/DLL/Newsweek.cpp:
+ * examples/DLL/Today.cpp:
+ Added include of svc_export.h.
+
+ * tests/Proactor_Test.cpp:
+ Fixed fuzz and unicode error
+
+ * ace/Asynch_Acceptor.h:
+ * ace/Functor.h:
+ * ace/Message_Queue.h:
+ * ace/Module.h:
+ * ace/Thread_Manager.h:
+ Doxygen-ized some of the comments
+
Tue Apr 16 23:32:49 2002 Steve Huston <shuston@riverace.com>
* ace/ace_dll.dsp:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index fb7cdc9d607..24dc51e1771 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,19 @@
+Wed Apr 17 07:28:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * examples/DLL/Newsweek.cpp:
+ * examples/DLL/Today.cpp:
+ Added include of svc_export.h.
+
+ * tests/Proactor_Test.cpp:
+ Fixed fuzz and unicode error
+
+ * ace/Asynch_Acceptor.h:
+ * ace/Functor.h:
+ * ace/Message_Queue.h:
+ * ace/Module.h:
+ * ace/Thread_Manager.h:
+ Doxygen-ized some of the comments
+
Tue Apr 16 23:32:49 2002 Steve Huston <shuston@riverace.com>
* ace/ace_dll.dsp:
diff --git a/ace/Asynch_Acceptor.h b/ace/Asynch_Acceptor.h
index 188e226f3f2..1c930fb10c1 100644
--- a/ace/Asynch_Acceptor.h
+++ b/ace/Asynch_Acceptor.h
@@ -169,23 +169,32 @@ public:
// These are low level tweaking methods
//
- /// Set and get flag that indicates if parsing and passing of
- /// addresses to the service_handler is necessary.
+ /// Get flag that indicates if parsing and passing of addresses to
+ /// the service_handler is necessary.
virtual int pass_addresses (void) const;
+
+ /// Set flag that indicates if parsing and passing of addresses to
+ /// the service_handler is necessary.
virtual void pass_addresses (int new_value);
- /// Set and get flag that indicates if address validation is
- /// required.
+ /// Get flag that indicates if address validation is required.
virtual int validate_new_connection (void) const;
+
+ /// Set flag that indicates if address validation is required.
virtual void validate_new_connection (int new_value);
- /// Set and get flag that indicates if a new accept should be
- /// reissued when a accept completes.
+ /// Get flag that indicates if a new accept should be reissued when a accept
+ /// completes.
virtual int reissue_accept (void) const;
+
+ /// Set flag that indicates if a new accept should be reissued when a accept
+ /// completes.
virtual void reissue_accept (int new_value);
- /// Set and get bytes to be read with the <accept> call.
+ /// Get bytes to be read with the <accept> call.
virtual int bytes_to_read (void) const;
+
+ /// Set bytes to be read with the <accept> call.
virtual void bytes_to_read (int new_value);
/// This is required by the AcceptEx call.
diff --git a/ace/Functor.h b/ace/Functor.h
index 00dfb6df0dd..87be522579a 100644
--- a/ace/Functor.h
+++ b/ace/Functor.h
@@ -59,7 +59,7 @@ public:
/// Default constructor.
ACE_Command_Base (void);
- /// Virtaul destructor.
+ /// Virtual destructor.
virtual ~ACE_Command_Base (void);
/**
diff --git a/ace/Message_Queue.h b/ace/Message_Queue.h
index 3b7c6e35c3a..78645a53591 100644
--- a/ace/Message_Queue.h
+++ b/ace/Message_Queue.h
@@ -106,8 +106,9 @@ public:
// = Check if queue is full/empty.
/// True if queue is full, else false.
- /// True if queue is empty, else false.
virtual int is_full (void) = 0;
+
+ /// True if queue is empty, else false.
virtual int is_empty (void) = 0;
// = Queue statistic methods.
@@ -154,8 +155,10 @@ public:
/// Returns true if <deactivated_> is enabled.
virtual int deactivated (void) = 0;
- // = Get/set the notification strategy for the <Message_Queue>
+ /// Get the notification strategy for the <Message_Queue>
virtual ACE_Notification_Strategy *notification_strategy (void) = 0;
+
+ /// Set the notification strategy for the <Message_Queue>
virtual void notification_strategy (ACE_Notification_Strategy *s) = 0;
// = Notification hook.
@@ -233,12 +236,18 @@ public:
/**
* Number of total bytes on the queue, i.e., sum of the message
* block sizes.
+ */
+ virtual size_t message_bytes (void);
+
+ /**
* Number of total length on the queue, i.e., sum of the message
* block lengths.
- * Number of total messages on the queue.
*/
- virtual size_t message_bytes (void);
virtual size_t message_length (void);
+
+ /**
+ * Number of total messages on the queue.
+ */
virtual size_t message_count (void);
// = Manual changes to these stats (used when queued message blocks
@@ -246,22 +255,26 @@ public:
/**
* New value of the number of total bytes on the queue, i.e., sum of
* the message block sizes.
+ */
+ virtual void message_bytes (size_t new_size);
+ /**
* New value of the number of total length on the queue, i.e., sum
* of the message block lengths.
*/
- virtual void message_bytes (size_t new_size);
virtual void message_length (size_t new_length);
// = Flow control routines
- /**
- * Get high watermark.
- * Set high watermark.
- * Get low watermark.
- * Set low watermark.
- */
+
+ /// Get high watermark.
virtual size_t high_water_mark (void);
+
+ /// Set high watermark.
virtual void high_water_mark (size_t hwm);
+
+ /// Get low watermark.
virtual size_t low_water_mark (void);
+
+ /// Set low watermark.
virtual void low_water_mark (size_t lwm);
// = Activation control methods.
@@ -303,8 +316,9 @@ protected:
// = Check the boundary conditions (assumes locks are held).
/// True if queue is full, else false.
- /// True if queue is empty, else false.
virtual int is_full_i (void);
+
+ /// True if queue is empty, else false.
virtual int is_empty_i (void);
// = Implementation of public <activate>/<deactivate> methods above.
@@ -312,8 +326,9 @@ protected:
// These methods assume locks are held.
/// Deactivate the queue.
- /// Activate the queue.
virtual int deactivate_i (void);
+
+ /// Activate the queue.
virtual int activate_i (void);
// = Helper methods to factor out common #ifdef code.
@@ -418,22 +433,31 @@ public:
// = Check if queue is full/empty.
/**
* Always return false.
+ */
+
+ virtual int is_full (void);
+ /**
* True if queue is empty, else false. Notice the return value is
* only transient.
*/
- virtual int is_full (void);
virtual int is_empty (void);
// = Queue statistic methods (transient.)
/**
* Number of total bytes on the queue, i.e., sum of the message
* block sizes.
+ */
+ virtual size_t message_bytes (void);
+
+ /**
* Number of total length on the queue, i.e., sum of the message
* block lengths.
- * Number of total messages on the queue.
*/
- virtual size_t message_bytes (void);
virtual size_t message_length (void);
+
+ /**
+ * Number of total messages on the queue.
+ */
virtual size_t message_count (void);
// = Manual changes to these stats (used when queued message blocks
@@ -441,10 +465,13 @@ public:
/**
* New value of the number of total bytes on the queue, i.e., sum of
* the message block sizes.
+ */
+ virtual void message_bytes (size_t new_size);
+
+ /**
* New value of the number of total length on the queue, i.e., sum
* of the message block lengths.
*/
- virtual void message_bytes (size_t new_size);
virtual void message_length (size_t new_length);
/// Get the max concurrent thread number.
diff --git a/ace/Module.h b/ace/Module.h
index 058302b3c63..a8320d63cda 100644
--- a/ace/Module.h
+++ b/ace/Module.h
@@ -140,8 +140,9 @@ public:
// = Identify the module
/// Get the module name.
- /// Set the module name.
const ACE_TCHAR *name (void) const;
+
+ /// Set the module name.
void name (const ACE_TCHAR *);
// = Argument to the Tasks.
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h
index cd1f5c06af4..b3c6601cd62 100644
--- a/ace/Thread_Manager.h
+++ b/ace/Thread_Manager.h
@@ -659,27 +659,29 @@ public:
ACE_Task_Base *task (void);
// = Suspend methods, which isn't supported on POSIX pthreads (will not block).
- /**
- * Suspend all threads
- * Suspend a single thread.
- * Suspend a group of threads.
- * True if <t_id> is inactive (i.e., suspended), else false.
- */
+ /// Suspend all threads
int suspend_all (void);
+
+ /// Suspend a single thread.
int suspend (ACE_thread_t);
+
+ /// Suspend a group of threads.
int suspend_grp (int grp_id);
+
+ /// True if <t_id> is inactive (i.e., suspended), else false.
int testsuspend (ACE_thread_t t_id);
// = Resume methods, which isn't supported on POSIX pthreads (will not block).
- /**
- * Resume all stopped threads
- * Resume a single thread.
- * Resume a group of threads.
- * True if <t_id> is active (i.e., resumed), else false.
- */
+ /// Resume all stopped threads
int resume_all (void);
+
+ /// Resume a single thread.
int resume (ACE_thread_t);
+
+ /// Resume a group of threads.
int resume_grp (int grp_id);
+
+ /// True if <t_id> is active (i.e., resumed), else false.
int testresume (ACE_thread_t t_id);
// = Send signals to one or more threads without blocking.