From 1df41d296449fa2e397cb214ff27506887de896d Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 9 Jul 1996 23:00:06 +0000 Subject: [PATCH] force timer into limbo state during delete --- src/libCom/osiTimer.cc | 5 +++++ src/libCom/timer/osiTimer.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/libCom/osiTimer.cc b/src/libCom/osiTimer.cc index 970761626..12b3c5082 100644 --- a/src/libCom/osiTimer.cc +++ b/src/libCom/osiTimer.cc @@ -29,6 +29,9 @@ * * History * $Log$ + * Revision 1.1 1996/06/26 22:14:13 jhill + * added new src files + * * Revision 1.1.1.1 1996/06/20 00:28:15 jhill * ca server installation * @@ -291,6 +294,7 @@ osiTimerQueue::~osiTimerQueue() // destroy any unexpired timers // while ( (pTmr = this->pending.get()) ) { + pTmr->state = ositLimbo; pTmr->destroy(); } @@ -298,6 +302,7 @@ osiTimerQueue::~osiTimerQueue() // destroy any expired timers // while ( (pTmr = this->expired.get()) ) { + pTmr->state = ositLimbo; pTmr->destroy(); } } diff --git a/src/libCom/timer/osiTimer.cpp b/src/libCom/timer/osiTimer.cpp index 970761626..12b3c5082 100644 --- a/src/libCom/timer/osiTimer.cpp +++ b/src/libCom/timer/osiTimer.cpp @@ -29,6 +29,9 @@ * * History * $Log$ + * Revision 1.1 1996/06/26 22:14:13 jhill + * added new src files + * * Revision 1.1.1.1 1996/06/20 00:28:15 jhill * ca server installation * @@ -291,6 +294,7 @@ osiTimerQueue::~osiTimerQueue() // destroy any unexpired timers // while ( (pTmr = this->pending.get()) ) { + pTmr->state = ositLimbo; pTmr->destroy(); } @@ -298,6 +302,7 @@ osiTimerQueue::~osiTimerQueue() // destroy any expired timers // while ( (pTmr = this->expired.get()) ) { + pTmr->state = ositLimbo; pTmr->destroy(); } }