Summary:ASTERISK-08367: [patch] threads syncronization
Reporter:Dmytro Mishchenko (arkadia)Labels:
Date Opened:2006-12-18 09:34:18.000-0600Date Closed:2006-12-18 11:19:16.000-0600
Versions:Frequency of
Environment:Attachments:( 0) iaxchan_thr.patch
Description:Two problems:
1. We may send signal to the thread when it's not waiting for that signal.
Sent signal being silently ignored but we expect from the thread that it'll process the frame. Result not processed frames and threads appears out of the pool.

2. Thread should be returned to the same list where it was taken on all cases.
Dynamic should go to dynamic_list, rest to idle_list.

Both problems visible on high load.
Comments:By: Joshua C. Colp (jcolp) 2006-12-18 11:19:16.000-0600

Fixed in 1.4 as of revision 48564 and trunk as of revision 48565. Thanks!