diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2019-04-26 07:52:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-26 07:52:51 +0200 |
commit | 629588a38264e5ff3d2fd2a0c8f866d863b332b7 (patch) | |
tree | e08cb15d12d2994bd53be3db616c98a80321e4a0 /TAO/orbsvcs/tests/ImplRepo/ReconnectServer/test_i.cpp | |
parent | 26212992b6723c287d231fa0a6b8e2ebf059533c (diff) | |
parent | b940c3951fb908fcdaa3c8490803ac7459dfc0a5 (diff) | |
download | ATCD-629588a38264e5ff3d2fd2a0c8f866d863b332b7.tar.gz |
Merge pull request #893 from jwillemsen/jwi-implreprestart-889
Fixed race condition in the ImplRepo on server shutdown/restart
Diffstat (limited to 'TAO/orbsvcs/tests/ImplRepo/ReconnectServer/test_i.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/ImplRepo/ReconnectServer/test_i.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/ReconnectServer/test_i.cpp b/TAO/orbsvcs/tests/ImplRepo/ReconnectServer/test_i.cpp index 8d781e5a64d..6a76a9bc053 100644 --- a/TAO/orbsvcs/tests/ImplRepo/ReconnectServer/test_i.cpp +++ b/TAO/orbsvcs/tests/ImplRepo/ReconnectServer/test_i.cpp @@ -1,7 +1,6 @@ #include "test_i.h" #include "ace/OS_NS_time.h" - // Implementation skeleton constructor Test_Dummy_i::Test_Dummy_i (void) { @@ -12,9 +11,7 @@ Test_Dummy_i::~Test_Dummy_i (void) { } -char * Test_Dummy_i::getMessage ( - void - ) +char * Test_Dummy_i::getMessage (void) { // Add your implementation here return CORBA::string_dup("Test::Dummy---->Hello World"); @@ -29,22 +26,17 @@ Test_Time_i::~Test_Time_i (void) { } -::CORBA::Long Test_Time_i::current_time ( - void - ) +::CORBA::Long Test_Time_i::current_time (void) { ACE_DEBUG ((LM_DEBUG, "(%P|%t)Test_Time_i::current_time called\n")); return CORBA::Long (ACE_OS::time (0)); } -void Test_Time_i::shutdown ( - void - ) +void Test_Time_i::shutdown (void) { ACE_DEBUG ((LM_DEBUG, - "%s\n", + "%C\n", "Time_i is shutting down")); - } |