<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="font-family: arial; font-size: 14px;" class="">Hi:<br class=""></div><div style="font-family: arial; font-size: 14px;" class=""><br class=""></div><div style="font-family: arial; font-size: 14px;" class="">I find a bug in ACE :</div><div style="font-family: arial; font-size: 14px;" class="">    1) version 6.4.0(and former version) </div><div style="font-family: arial; font-size: 14px;" class="">    2) ace/Select_Reactor_T.cpp line 1179<br class=""></div><div style="font-family: arial; font-size: 14px;" class="">    3) ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::dispatch_notification_handlers</div><div style="font-family: arial; font-size: 14px;" class=""><br class=""></div><div style="font-family: arial; font-size: 14px;" class="">    code in line 1179 is "<span style="font-family: "Courier New"; font-size: 13px;" class="">number_of_active_handles -= n;</span> ", the variable <span style="font-family: "Courier New"; font-size: 13px;" class="">number_of_active_handles</span></div><div style="font-family: arial; font-size: 14px;" class=""><span style="font-family: "Courier New"; font-size: 13px;" class="">  </span>has been minus 1 in line 1171,function "<span style="font-family: "Courier New"; font-size: 13px;" class="">dispatch_notifications".</span></div><div style="font-family: arial; font-size: 14px;" class="">    so code line 1179  "<span style="font-family: "Courier New"; font-size: 13px;" class="">number_of_active_handles -= n;</span> " should be deleted.</div><div style="font-family: arial; font-size: 14px;" class="">    if not ,when notification event keeps coming,the io event will not be dispatched in time. </div><div style="font-family: arial; font-size: 14px;" class=""><br class=""></div><div style="font-family: arial; font-size: 14px;" class="">                                                                                                                                            Jack</div><div style="font-family: arial; font-size: 14px;" class="">                                                                                                                                            2018-03-21 </div></body></html>