[Ace-users] [ace-users] Race condition between handle_input() & handle_timeout() in ACE_Svc_Handler ?
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Mon Nov 19 07:25:52 CST 2007
>I have synchronized the handler methods with a thread mutex. But my
>problem is if I return -1 in the handle_timeout, other thread might
>crash and seems it's using the handler.
>And I also tried to use notify and return -1 inside handle_exception()
>but no luck.
>It seems that even I returned -1 in handler methods, and the handler
>is released, ACE is still trying to distribute events to that
>Is this a know bug in ACE5.4 or mis-use of "return -1' ?
Good question. I recommend you first try to upgrade to ACE 5.6.1
<download.dre.vanderbilt.edu> and if that doesn't help we'll think of
More information about the Ace-users