summaryrefslogtreecommitdiff
path: root/ace/ACE.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-19 02:48:54 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-19 02:48:54 +0000
commit6982631e1a79cc7c463ad631223aa9f1122eea4f (patch)
treedc3f31f1001f62659ef313fed4ccf380c1ee5085 /ace/ACE.h
parent624d4e7f3c615d072bc7b251cb094f264c72b33a (diff)
downloadATCD-6982631e1a79cc7c463ad631223aa9f1122eea4f.tar.gz
ChangeLogTag:Wed Jul 18 13:15:06 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'ace/ACE.h')
-rw-r--r--ace/ACE.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/ace/ACE.h b/ace/ACE.h
index 02343d31370..7f348596986 100644
--- a/ace/ACE.h
+++ b/ace/ACE.h
@@ -6,11 +6,10 @@
*
* $Id$
*
- * @author Doug Schmidt
+ * @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
*/
//=============================================================================
-
#ifndef ACE_ACE_H
#define ACE_ACE_H
#include "ace/pre.h"
@@ -30,6 +29,7 @@
// Forward declarations.
class ACE_Time_Value;
class ACE_Message_Block;
+class ACE_Handle_Set;
/**
* @class ACE
@@ -401,8 +401,6 @@ public:
ACE_TCHAR delim =
ACE_DIRECTORY_SEPARATOR_CHAR);
-
-
/**
* Returns the current timestamp in the form
* "hour:minute:second:microsecond." The month, day, and year are
@@ -540,6 +538,19 @@ public:
static char debug (void);
static void debug (char d);
+ /// Wrapper facade for <select> that uses <ACE_Handle_Set>s.
+ static int select (int width,
+ ACE_Handle_Set *readfds,
+ ACE_Handle_Set *writefds = 0,
+ ACE_Handle_Set *exceptfds = 0,
+ const ACE_Time_Value *timeout = 0);
+
+ /// Wrapper facade for the most common use of <select> that uses
+ /// <ACE_Handle_Set>s.
+ static int select (int width,
+ ACE_Handle_Set &readfds,
+ const ACE_Time_Value *timeout = 0);
+
/// Timed wait for handle to get read ready.
static int handle_read_ready (ACE_HANDLE handle,
const ACE_Time_Value *timeout);