[Ace-users] [ace-users] New timer event during handle_timeout processing

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Thu Mar 13 14:42:17 CDT 2008


To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in


or in


in older versions of ACE+TAO.  Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers

> I very interesting whats happens if new timer event arrives during
> handle_timeout processing. As i can suppose there are some cases: 1)
> Reactor has 1 thread. Will be new event discarded or queued for
> later processing?

Assuming that you're using the ACE_Reactor's timer queue stuff then
timer events aren't discarded - they are handled at the appropriate
point of time by the reactor.  The specific details of how this occurs
depends on which reactor implementation you are using.  Please see
Chapters 3 and 4 of C++NPv2 <www.cs.wustl.edu/~schmidt/ACE/book2/> for


Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu

More information about the Ace-users mailing list