Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Hang_Shutdown / test_i.h
blob8d9cc6a64b578ed913226ae7dcd627e5729d2603
1 #ifndef TAO_HANG_TEST_I_H
2 #define TAO_HANG_TEST_I_H
3 #include /**/ "ace/pre.h"
5 #include "TestS.h"
7 #include "ace/OS_NS_unistd.h"
9 namespace Test
11 class test_i
12 : public virtual POA_Test::Hang
14 public:
15 // = The skeleton methods
16 virtual void send_stuff (const char* str,
17 CORBA::Boolean flag)
19 ACE_DEBUG ((LM_DEBUG,
20 "(%P|%t) - [%C]\n", str));
22 if (flag)
24 ACE_OS::sleep (10);
26 ACE_DEBUG ((LM_DEBUG,
27 "TAO (%P|%t) - Returning from send_stuff\n", str));
30 return;
32 private:
36 #include /**/ "ace/post.h"
37 #endif /* TAO_HANG_TEST_I_H */