summaryrefslogtreecommitdiff
path: root/apps/JAWS3/jaws3/Event_Dispatcher.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-07-31 16:14:11 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-07-31 16:14:11 +0000
commit9c2ec3049a5634f1c916d792e81fc80edb669ea8 (patch)
tree0d634e179761581cadbffe852e7f9a9f049b5c6e /apps/JAWS3/jaws3/Event_Dispatcher.cpp
parent6540653cf736840d5aad719c73a8e43a549080be (diff)
downloadATCD-9c2ec3049a5634f1c916d792e81fc80edb669ea8.tar.gz
This commit was manufactured by cvs2svn to create tag 'TAO-1_4_2'.TAO-1_4_2
Diffstat (limited to 'apps/JAWS3/jaws3/Event_Dispatcher.cpp')
-rw-r--r--apps/JAWS3/jaws3/Event_Dispatcher.cpp52
1 files changed, 0 insertions, 52 deletions
diff --git a/apps/JAWS3/jaws3/Event_Dispatcher.cpp b/apps/JAWS3/jaws3/Event_Dispatcher.cpp
deleted file mode 100644
index 6b498e23125..00000000000
--- a/apps/JAWS3/jaws3/Event_Dispatcher.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-// $Id$
-
-#include "ace/Log_Msg.h"
-#include "ace/Thread.h"
-#include "ace/Reactor.h"
-#include "ace/Proactor.h"
-#include "ace/POSIX_Proactor.h"
-
-#ifndef JAWS_BUILD_DLL
-#define JAWS_BUILD_DLL
-#endif /*JAWS_BUILD_DLL*/
-
-#include "jaws3/Event_Dispatcher.h"
-
-static ACE_THR_FUNC_RETURN
-JAWS_Event_Dispatcher_Proactor_Event_Loop (void *)
-{
- ACE_Proactor::run_event_loop ();
- return 0;
-}
-
-
-void
-JAWS_Event_Dispatcher::end_event_loop (void)
-{
- ACE_Reactor::end_event_loop ();
-}
-
-
-void
-JAWS_Event_Dispatcher::run_event_loop (void)
-{
- // First, initiate the proactor thread
-
- int result;
- result = ACE_Thread::spawn ( JAWS_Event_Dispatcher_Proactor_Event_Loop
- , 0
- , THR_BOUND
- );
- if (result < 0)
- {
- ACE_ERROR ((LM_ERROR, "%p\n", "ACE_Thread::spawn"));
- return;
- }
-
- // Now, enter the reactor's event loop.
- ACE_Reactor::run_event_loop ();
-
- // End the proactor's event loop if reactor was interrupted.
- ACE_Proactor::end_event_loop ();
-}
-