[Ace-users] [ace-users] are reactor timeouts delivered asynchronously

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Thu Jan 17 12:37:15 CST 2008

Hi Sunil,

> Thanks very much for your reply. I figured easiest way to find this
>out is to put the task in debugger and put a breakpoint in
>handle_timeout() and handle_input() methods, in both cases the
>walkback was ACE_Select_Reactor_Token: handle_events->handle_events_i-
>>dispatch->dispatch_io_handlers->dispatch_io_set-> notify_handle-
>>handle_input for new client connection requests and
>ACE_Select_Reactor_Token: handle_events->handle_events_i->dispatch-
>>dispatch_timer_handlers->expire->timeout->handle_timeout() for
>timeout requests, which is confirming that for my configuration these
>events seem to be delivered synchronously.....

Yes, the ACE_Select_Reactor delivers timeout calbacks synchronously.
Please see chapter 4 of C++NPv2 <www.cs.wustl.edu/~schmidt/ACE/book2/>
for details on the dispatch order.


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