From 677d654ca6d7f298e5e36e4a7dd7c926c6df31f2 Mon Sep 17 00:00:00 2001 From: Abdullah Sowayan Date: Fri, 29 Jun 2007 23:46:36 +0000 Subject: Fri Jun 29 23:43:45 UTC 2007 Abdullah Sowayan --- TAO/examples/CSD_Strategy/ThreadPool/OrbShutdownTask.cpp | 2 ++ TAO/examples/CSD_Strategy/ThreadPool2/OrbShutdownTask.cpp | 2 ++ TAO/examples/CSD_Strategy/ThreadPool3/OrbShutdownTask.cpp | 2 ++ TAO/examples/CSD_Strategy/ThreadPool4/OrbShutdownTask.cpp | 2 ++ TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp | 2 ++ TAO/examples/CSD_Strategy/ThreadPool6/OrbShutdownTask.cpp | 2 ++ 6 files changed, 12 insertions(+) (limited to 'TAO/examples/CSD_Strategy') diff --git a/TAO/examples/CSD_Strategy/ThreadPool/OrbShutdownTask.cpp b/TAO/examples/CSD_Strategy/ThreadPool/OrbShutdownTask.cpp index ebcd029165c..9469856960e 100644 --- a/TAO/examples/CSD_Strategy/ThreadPool/OrbShutdownTask.cpp +++ b/TAO/examples/CSD_Strategy/ThreadPool/OrbShutdownTask.cpp @@ -37,11 +37,13 @@ OrbShutdownTask::open(void*) { if (this->activate(THR_NEW_LWP | THR_JOINABLE, 1) != 0) { + //FUZZ: disable check_for_lack_ACE_OS // Assumes that when activate returns non-zero return code that // no threads were activated. ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) OrbShutdownTask failed to open().\n"), -1); + //FUZZ: enable check_for_lack_ACE_OS } return 0; diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/OrbShutdownTask.cpp b/TAO/examples/CSD_Strategy/ThreadPool2/OrbShutdownTask.cpp index ebcd029165c..9469856960e 100644 --- a/TAO/examples/CSD_Strategy/ThreadPool2/OrbShutdownTask.cpp +++ b/TAO/examples/CSD_Strategy/ThreadPool2/OrbShutdownTask.cpp @@ -37,11 +37,13 @@ OrbShutdownTask::open(void*) { if (this->activate(THR_NEW_LWP | THR_JOINABLE, 1) != 0) { + //FUZZ: disable check_for_lack_ACE_OS // Assumes that when activate returns non-zero return code that // no threads were activated. ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) OrbShutdownTask failed to open().\n"), -1); + //FUZZ: enable check_for_lack_ACE_OS } return 0; diff --git a/TAO/examples/CSD_Strategy/ThreadPool3/OrbShutdownTask.cpp b/TAO/examples/CSD_Strategy/ThreadPool3/OrbShutdownTask.cpp index ebcd029165c..9469856960e 100644 --- a/TAO/examples/CSD_Strategy/ThreadPool3/OrbShutdownTask.cpp +++ b/TAO/examples/CSD_Strategy/ThreadPool3/OrbShutdownTask.cpp @@ -37,11 +37,13 @@ OrbShutdownTask::open(void*) { if (this->activate(THR_NEW_LWP | THR_JOINABLE, 1) != 0) { + //FUZZ: disable check_for_lack_ACE_OS // Assumes that when activate returns non-zero return code that // no threads were activated. ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) OrbShutdownTask failed to open().\n"), -1); + //FUZZ: enable check_for_lack_ACE_OS } return 0; diff --git a/TAO/examples/CSD_Strategy/ThreadPool4/OrbShutdownTask.cpp b/TAO/examples/CSD_Strategy/ThreadPool4/OrbShutdownTask.cpp index ebcd029165c..9469856960e 100644 --- a/TAO/examples/CSD_Strategy/ThreadPool4/OrbShutdownTask.cpp +++ b/TAO/examples/CSD_Strategy/ThreadPool4/OrbShutdownTask.cpp @@ -37,11 +37,13 @@ OrbShutdownTask::open(void*) { if (this->activate(THR_NEW_LWP | THR_JOINABLE, 1) != 0) { + //FUZZ: disable check_for_lack_ACE_OS // Assumes that when activate returns non-zero return code that // no threads were activated. ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) OrbShutdownTask failed to open().\n"), -1); + //FUZZ: enable check_for_lack_ACE_OS } return 0; diff --git a/TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp b/TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp index ebcd029165c..9469856960e 100644 --- a/TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp +++ b/TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp @@ -37,11 +37,13 @@ OrbShutdownTask::open(void*) { if (this->activate(THR_NEW_LWP | THR_JOINABLE, 1) != 0) { + //FUZZ: disable check_for_lack_ACE_OS // Assumes that when activate returns non-zero return code that // no threads were activated. ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) OrbShutdownTask failed to open().\n"), -1); + //FUZZ: enable check_for_lack_ACE_OS } return 0; diff --git a/TAO/examples/CSD_Strategy/ThreadPool6/OrbShutdownTask.cpp b/TAO/examples/CSD_Strategy/ThreadPool6/OrbShutdownTask.cpp index ebcd029165c..9469856960e 100644 --- a/TAO/examples/CSD_Strategy/ThreadPool6/OrbShutdownTask.cpp +++ b/TAO/examples/CSD_Strategy/ThreadPool6/OrbShutdownTask.cpp @@ -37,11 +37,13 @@ OrbShutdownTask::open(void*) { if (this->activate(THR_NEW_LWP | THR_JOINABLE, 1) != 0) { + //FUZZ: disable check_for_lack_ACE_OS // Assumes that when activate returns non-zero return code that // no threads were activated. ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) OrbShutdownTask failed to open().\n"), -1); + //FUZZ: enable check_for_lack_ACE_OS } return 0; -- cgit v1.2.1