<br>After reading more about ACE_Reactor, I have seen&nbsp; that&nbsp; after the schedule_xxx ( ) functions are called the reactor does not&nbsp; notice the mask changes until a new event comes. So I have put a notify( ) after each schedule call so reactor will re-examine the mask inmediatly, but the problem is the same: handle_output( ) is not called.<br>I've also tryed to register()/unregister() my event handler at the right points with the right mask, with the same result.<br>Also, I have checked the TP_Reactor_Test example, which does the same&nbsp; things for schedule functions (although with a thread pool) and it seems to work.<br><br>What else should I try for my simple test program?<br>&nbsp;<br>Thank you<br><br><b><i>Steve Huston &lt;shuston@riverace.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Thanks very much for the PROBLEM-REPORT-FORM.<br><br>&gt; ACE VERSION: 5.5<br>&gt;
    HOST MACHINE and OPERATING SYSTEM:<br>&gt;        Linux 2.6.9 Kernel.CentOS4.2 (32bit)<br>&gt; (snip)<br>&gt;    DESCRIPTION:<br>&gt;    I'm  building a simple echo test program.<br>&gt;    I have an ACE_Select_Reactor listening in a port waiting data to<br>&gt; be sent by telnet, for example. The reactor is registered for READ<br>&gt; events. When telnet client connects, I write eight bytes in<br>terminal.<br>&gt; ACE_Reactors calls handle_input() , who tries to read the 8 bytes,<br>&gt; and then (still inside handle_input() ) it does a schedule_cancel( )<br>&gt; on read events, and a schedule_wakeup for WRITE events.<br><br>Ok.<br><br>&gt; I think ACE_Reactor should call handle_ouput( ) , but it is never<br>&gt; called, so I can send the answer to the client.  Only handle_input(<br>)<br>&gt; gets called.<br><br>Right, this is expected when using schedule_wakeup() and<br>cancel_wakeup(). Please see C++NPv2 section 3.5 for why this is and<br>what you need to do to have
 your events handled as you want.<br><br>For more info on C++NPv2, please see<br>http://www.riverace.com/acebooks/index.htm#cnpv2<br><br>Best regards,<br>-Steve<br><br>--<br>Steve Huston, Riverace Corporation<br>Want to take ACE training on YOUR schedule?<br>See http://www.riverace.com/training.htm<br><br><br></blockquote><br><p>&#32;
      <hr size=1>Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. <a href="http://us.rd.yahoo.com/evt=51732/*http://overview.mail.yahoo.com/">See how.</a>