summaryrefslogtreecommitdiff
path: root/examples/Logger/simple-server/Reactor_Singleton.h
blob: 44f2a91eda7900b7c8c014e77bcdc9ad679042bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* -*- C++ -*- */
// $Id$


// ============================================================================
//
// = 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 */