Summary:ASTERISK-04553: Cygwin Patches (channels dir)
Reporter:Michael Jerris (mikej)Labels:
Date Opened:2005-07-10 21:34:44Date Closed:2005-07-11 23:17:34
Versions:Frequency of
Environment:Attachments:( 0) CygwinChannelsPatch.txt
Description:Derived from asteriskwin32 patches.  Both he and I have disclaimers.  More to come...
Comments:By: Tilghman Lesher (tilghman) 2005-07-11 00:42:13

There is a problem with the code that stops the monitor.  Due to removing the ELSE clause, your routine will cancel the monitor thread, then immediate call ast_pthread_create() to create another monitor thread, even if monitor_thread is set to AST_PTHREADT_NULL, which is the value intended to be used to prevent the monitor thread from respawning.

This will affect at least chan_h323, chan_sip, and chan_mgcp.

By: Michael Jerris (mikej) 2005-07-11 07:45:13

working on updates for this.  Corydon and I discuessed on IRC.