Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 21280410b6ea906d791d7a12afae2579 > files > 1225

libace5-doc-5.4-2mdk.i586.rpm

/* -*- C++ -*- */
// Reactor_Singleton.h,v 4.3 2003/08/04 03:53:54 dhinton Exp


// ============================================================================
//
// = LIBRARY
//    examples
//
// = FILENAME
//    Reactor_Singleton.h
//
// = AUTHOR
//    Doug Schmidt
//
// ============================================================================

#ifndef _REACTOR_SINGLETON_H
#define _REACTOR_SINGLETON_H

#include "ace/Singleton.h"
#include "ace/Null_Mutex.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "ace/Reactor.h"

// Our global Reactor Singleton.
typedef ACE_Singleton<ACE_Reactor, ACE_Null_Mutex> REACTOR;

#endif /* _REACTOR_SINGLETON_H */