summaryrefslogtreecommitdiff
path: root/ace/ACE.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-01 20:06:59 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-01 20:06:59 +0000
commit16c5899abdff672fecf351e6fe5594d09e7472f5 (patch)
tree951f2fd922ffd86344087fd58a9f00f74b7c6481 /ace/ACE.cpp
parent4582ba0758ccd10f5edd6c9c27354f3ebe16c1e6 (diff)
downloadATCD-16c5899abdff672fecf351e6fe5594d09e7472f5.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r--ace/ACE.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp
index ef06b300b78..820f829085f 100644
--- a/ace/ACE.cpp
+++ b/ace/ACE.cpp
@@ -118,6 +118,23 @@ ACE::register_stdin_handler (ACE_Event_Handler *eh,
#endif /* ACE_WIN32 */
}
+int
+ACE::remove_stdin_handler (ACE_Reactor *reactor,
+ ACE_Thread_Manager *thr_mgr)
+{
+#if defined (ACE_WIN32)
+ ACE_UNUSED_ARG (reactor);
+ ACE_UNUSED_ARG (thr_mgr);
+
+ // What should we do here?
+ ACE_NOTSUP_RETURN (-1);
+#else
+ // Keep compilers happy.
+ ACE_UNUSED_ARG (thr_mgr);
+ return reactor->remove_handler (ACE_STDIN, ACE_Event_Handler::READ_MASK);
+#endif /* ACE_WIN32 */
+}
+
// Used to read from non-socket ACE_HANDLEs in our own thread to work
// around Win32 limitations that don't allow us to select() on
// non-sockets (such as ACE_STDIN). This is commonly used in