[Ace-users] New timer event during handle_timeout processing

Arlekin vadim.shmelev at ovsoft.ru
Thu Mar 13 11:11:09 CDT 2008


Good day.
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?
2) Reactor has 2 (or more) threads. Another free reactor's thread will
be process it event. But whats happens if during that processing,
first thread returns -1 from handle timeout?

Thanks in advance for your comments.


More information about the Ace-users mailing list