summaryrefslogtreecommitdiff
path: root/ace/Proactor.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Proactor.i')
-rw-r--r--ace/Proactor.i72
1 files changed, 72 insertions, 0 deletions
diff --git a/ace/Proactor.i b/ace/Proactor.i
index 6318deb79a0..e876b6e8b0c 100644
--- a/ace/Proactor.i
+++ b/ace/Proactor.i
@@ -1,2 +1,74 @@
/* -*- C++ -*- */
// $Id$
+
+int
+ACE_Proactor::run_event_loop (void)
+{
+ ACE_TRACE ("ACE_Proactor::run_event_loop");
+ ACE_Proactor *p = ACE_Proactor::instance ();
+
+ if (p == 0)
+ return -1;
+
+ return p->proactor_run_event_loop ();
+}
+
+int
+ACE_Proactor::run_event_loop (ACE_Time_Value &tv)
+{
+ ACE_TRACE ("ACE_Proactor::run_event_loop (tv)");
+ ACE_Proactor *p = ACE_Proactor::instance ();
+
+ if (p == 0)
+ return -1;
+
+ return p->proactor_run_event_loop (tv);
+}
+
+int
+ACE_Proactor::reset_event_loop(void)
+{
+ ACE_TRACE ("ACE_Proactor::reset_event_loop");
+ ACE_Proactor *p = ACE_Proactor::instance ();
+
+ if (p == 0)
+ return -1;
+
+ return p->proactor_reset_event_loop ();
+}
+
+int
+ACE_Proactor::end_event_loop (void)
+{
+ ACE_TRACE ("ACE_Proactor::end_event_loop");
+ ACE_Proactor *p = ACE_Proactor::instance ();
+
+ if (p == 0)
+ return -1;
+
+ return p->proactor_end_event_loop ();
+}
+
+int
+ACE_Proactor::event_loop_done (void)
+{
+ ACE_TRACE ("ACE_Proactor::event_loop_done");
+ ACE_Proactor *p = ACE_Proactor::instance ();
+
+ if (p == 0)
+ return -1;
+
+ return p->proactor_event_loop_done ();
+}
+
+int
+ACE_Proactor::post_wakeup_completions (int how_many)
+{
+ ACE_TRACE ("ACE_Proactor::post_wakeup_completions");
+ ACE_Proactor *p = ACE_Proactor::instance ();
+
+ if (p == 0)
+ return -1;
+
+ return p->proactor_post_wakeup_completions (how_many);
+}