[Ace-users] Re: [ace-bugs] ACE_Thread_Timer_Queue_Adapter large
interval
Johnny Willemsen
jwillemsen at remedy.nl
Tue Jul 10 07:24:06 CDT 2007
Hi,
Thanks for using the PRF form. Can you maybe make a small test program as
reproducer, or even better extend a test under ACE_wrappers/tests to
reproduce this?
Regards,
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl <http://scoreboard.theaceorb.nl/> ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***
________________________________
From: ace-bugs-bounces at cse.wustl.edu
[mailto:ace-bugs-bounces at cse.wustl.edu] On Behalf Of Martin Lierschof
Sent: Tuesday, July 10, 2007 3:35 AM
To: ace-bugs at cs.wustl.edu
Subject: [ace-bugs] ACE_Thread_Timer_Queue_Adapter large interval
Hi,
ACE VERSION: 5.5.1 (primary)
ACE VERSION: 5.5.8 (also tested)
HOST MACHINE and OPERATING SYSTEM:
Windows2000, WindowsXp (winsock2)
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
Windows2000 (sp4) , WindowsXp (sp2) both running on winsock2
COMPILER NAME AND VERSION (AND PATCHLEVEL):
MS VC 7.1 (sp) / MS VC 8 (sp1) = tested on both
THE $ACE_ROOT/ace/config.h FILE:
#define ACE_ENV_BKWD_COMPAT
#include "ace/config-win32.h"
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
None
CONTENTS OF
$ACE_ROOT/bin/MakeProjectCreator/config/default.features:
Default
AREA/CLASS/EXAMPLE AFFECTED:
ACE_Thread_Timer_Queue_Adapter
Templates:
<ACE_Timer_Wheel>
<ACE_Timer_Heap>
<ACE_Timer_Hash>
<ACE_Timer_List>
DOES THE PROBLEM AFFECT:
COMPILATION?
No
LINKING?
No
EXECUTION?
No
DESCRIPTION:
I measured some miscalculation in intervals while debugging with
large intervals. So what's the recommended max value for an Interval?
I tested with all Templates, but there was no difference between
them, always the same result.
Class: ACE_Thread_Timer_Queue_Adapter
Templates: all:
ACE_Timer_Wheel
ACE_Timer_Heap
ACE_Timer_Hash
ACE_Timer_List
Description: Problems scheduling, intervals larger than ~ 7
days, definitive 10 days
Calculation: scheduled interval = 3600s (1 hour) * 24 (1day) *
10 (10 days) = 864000s
Start time: 30.06.2007 00:00:00
Debugged in Timer_Queue_Adapters.cpp line: 261
Excepted handle timeout:
10.07.2007 00:00:00
Timeout calculated while in debug Timer_Queue_Adapter:
15.07.2007 00:00:00
I'll be pleased if there is a workaround / fix / other timer
adapter.
My current workaround is scheduling just for one hour but this seems
more than a dirty hack for this problem.
Thanks in advance
Martin Lierschof
More information about the Ace-users
mailing list