TAO_IDL: Fix Memory Leaks Caused By Annotations
[ACE_TAO.git] / TAO / tests / MT_Server / test_i.cpp
blob9847377ea954fee14d3ef37ab225c0a33602b612
1 #include "test_i.h"
2 #include "tao/debug.h"
3 #include "ace/OS_NS_unistd.h"
5 #if !defined(__ACE_INLINE__)
6 #include "test_i.inl"
7 #endif /* __ACE_INLINE__ */
9 CORBA::Long
10 Simple_Server_i::test_method (CORBA::Long x)
12 if (TAO_debug_level > 0)
13 ACE_DEBUG ((LM_DEBUG, "Request in thread %t\n"));
14 ACE_Time_Value tv (0, 15000);
15 ACE_OS::sleep (tv);
16 return x;
19 void
20 Simple_Server_i::shutdown (void)
22 this->orb_->shutdown (0);