diff options
Diffstat (limited to 'TAO/tests/Bug_1551_Regression/Hello.h')
-rw-r--r-- | TAO/tests/Bug_1551_Regression/Hello.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/TAO/tests/Bug_1551_Regression/Hello.h b/TAO/tests/Bug_1551_Regression/Hello.h new file mode 100644 index 00000000000..156365e9b6b --- /dev/null +++ b/TAO/tests/Bug_1551_Regression/Hello.h @@ -0,0 +1,31 @@ +// +// $Id$ +// + +#ifndef HELLO_H +#define HELLO_H + +#include /**/ "ace/pre.h" + +#include "TestS.h" + +class Hello + : public virtual POA_Test::Hello +{ +public: + /// Constructor + Hello(CORBA::ORB_ptr orb, bool simulate_crashes); + + virtual void short_sleep (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + +private: + CORBA::ORB_var orb_; + + bool simulate_crashes_; + + ACE_Atomic_Op<TAO_SYNCH_MUTEX,long> atomic_counter_; +}; + +#include /**/ "ace/post.h" +#endif /* HELLO_H */ |