diff options
author | msmit <msmit@remedy.nl> | 2011-05-30 10:00:58 +0000 |
---|---|---|
committer | msmit <msmit@remedy.nl> | 2011-05-30 10:00:58 +0000 |
commit | 0e2f742d33ed6a1fac68f38d05e600b463c27883 (patch) | |
tree | c3d9a9e63f48885afffa5ee8f9fd059a4f9d7cd0 /TAO/orbsvcs/LoadBalancer | |
parent | b4b815ad74e610583f9b13ad56b0281c8cc20137 (diff) | |
download | ATCD-0e2f742d33ed6a1fac68f38d05e600b463c27883.tar.gz |
Mon May 30 10:00:33 UTC 2011 Marcel Smit <msmit@remedy.nl>
* orbsvcs/LoadBalancer/LoadMonitor.cpp:
Fixed compiler error on Windows.
Diffstat (limited to 'TAO/orbsvcs/LoadBalancer')
-rw-r--r-- | TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp b/TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp index a18e50fbb59..7f6e6b8f473 100644 --- a/TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp +++ b/TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp @@ -317,6 +317,13 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) // ensure graceful shutdown of the LoadMonitor so that // LoadMonitors registered with the LoadManager can be // deregistered. + CosLoadBalancing::LoadManager_ptr tmp; + + if (timer_id == -1) + tmp = load_manager.in (); // PULL monitoring + else + tmp = CosLoadBalancing::LoadManager::_nil (); // PUSH + // monitoring TAO_LB_Monitor_Signal_Handler signal_handler ( orb.in (), root_poa.in (), |