summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuangming <huangminghuang@users.noreply.github.com>2003-12-05 02:25:16 +0000
committerhuangming <huangminghuang@users.noreply.github.com>2003-12-05 02:25:16 +0000
commitefc2a8072c77188dd3dc9417952764eba6d3ef97 (patch)
tree4dfd5dc2bb5375bd3d8667d3ccd5b5b972445489
parentc00407dcebffb3304a53e273aa33a6fe75f7af26 (diff)
downloadATCD-efc2a8072c77188dd3dc9417952764eba6d3ef97.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp6
-rw-r--r--TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp4
2 files changed, 4 insertions, 6 deletions
diff --git a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp
index fea77f7b91d..e79ab696289 100644
--- a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp
+++ b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp
@@ -119,11 +119,11 @@ void Crash_Injector::check_on_sending_reply(const char* operation)
void Crash_Injector::crash_timeout()
{
#ifndef WIN32
- if (time_to_crash_ > 0) {
+ if (time_to_crash_in_ms_ > 0) {
signal(SIGALRM, &crash_handler);
struct itimerval in, out;
- in.it_value.tv_sec = time_to_crash_/1000;
- in.it_value.tv_usec = (time_to_crash_%1000)*1000;
+ in.it_value.tv_sec = time_to_crash_in_ms_/1000;
+ in.it_value.tv_usec = (time_to_crash_in_ms_%1000)*1000;
setitimer(ITIMER_REAL, &in, &out);
}
else
diff --git a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp
index 99fb4d05ef3..23ceb715e01 100644
--- a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp
+++ b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp
@@ -27,13 +27,11 @@ ACE_THROW_SPEC ((CORBA::SystemException))
void
Crash_Injector_Interceptor::receive_request_service_contexts (
- PortableInterceptor::ServerRequestInfo_ptr ri
+ PortableInterceptor::ServerRequestInfo_ptr
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
PortableInterceptor::ForwardRequest))
{
-
-
}