[ace-users] Getting ACE_Reactor to suspend input processing
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Tue Jul 31 12:14:09 CDT 2007
Hi Jules,
> But won't that stop timers and output handlers also?
Yes, that's correct.
> How can I make it stop handling only input events?
There are several ways:
. Call suspend_handlers(), which will also suspend output handers.
. Use multiple reactors, e.g., in multiple threads.
> >You might also simply stop calling the
> >Reactor's handle_input() method.
>
> I can't find a handle_input() function documented for ACE_Reactor.
Oops, I meant handle_events(), i.e., the Reactor's event loop method.
Thanks,
Doug
More information about the Ace-users
mailing list