summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/LoadBalancer/Signal_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/LoadBalancer/Signal_Handler.cpp')
-rw-r--r--TAO/orbsvcs/LoadBalancer/Signal_Handler.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/TAO/orbsvcs/LoadBalancer/Signal_Handler.cpp b/TAO/orbsvcs/LoadBalancer/Signal_Handler.cpp
index 421974bfb1d..6e00753699c 100644
--- a/TAO/orbsvcs/LoadBalancer/Signal_Handler.cpp
+++ b/TAO/orbsvcs/LoadBalancer/Signal_Handler.cpp
@@ -60,7 +60,11 @@ TAO_LB_Signal_Handler::activate (long flags,
size_t stack_size[],
ACE_thread_t thread_ids[])
{
-#if defined (ACE_HAS_THREADS)
+ // sigwait() is not implemented on MS Windows. Handle signals
+ // asynchronously through the ORB's reactor in that case instead.
+ // Otherwise, handle signals synchronously in another thread.
+
+#if defined (ACE_HAS_THREADS) && !defined (ACE_WIN32)
return this->ACE_Task_Base::activate (flags,
n_threads,
force_active,