summaryrefslogtreecommitdiff
path: root/examples/Logger/simple-server/Reactor_Singleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Logger/simple-server/Reactor_Singleton.h')
-rw-r--r--examples/Logger/simple-server/Reactor_Singleton.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/Logger/simple-server/Reactor_Singleton.h b/examples/Logger/simple-server/Reactor_Singleton.h
new file mode 100644
index 00000000000..7aa08b00f0b
--- /dev/null
+++ b/examples/Logger/simple-server/Reactor_Singleton.h
@@ -0,0 +1,27 @@
+/* -*- C++ -*- */
+// @(#)Reactor_Singleton.h 1.1 10/18/96
+
+
+// ============================================================================
+//
+// = LIBRARY
+// examples
+//
+// = FILENAME
+// Reactor_Singleton.h
+//
+// = AUTHOR
+// Doug Schmidt
+//
+// ============================================================================
+
+#if !defined (_REACTOR_SINGLETON_H)
+#define _REACTOR_SINGLETON_H
+
+#include "ace/Singleton.h"
+#include "ace/Reactor.h"
+
+// Our global Reactor Singleton.
+typedef ACE_Singleton<ACE_Reactor, ACE_Null_Mutex> REACTOR;
+
+#endif /* _REACTOR_SINGLETON_H */