+2010-04-30 Atsushi Enomoto <atsushi@ximian.com>
+
+ * HttpListenerManager.cs : use manual reset here to not cause
+ possible inconsistent locking.
+
2010-04-28 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs, HttpListenerManager.cs :
IChannelListener channel_listener;
MetadataPublishingInfo mex_info;
HttpGetWsdl wsdl_instance;
- AutoResetEvent wait_http_ctx = new AutoResetEvent (false);
+ ManualResetEvent wait_http_ctx = new ManualResetEvent (false);
List<HttpContextInfo> pending = new List<HttpContextInfo> ();
public MetadataPublishingInfo MexInfo { get { return mex_info; } }
}
KickContextReceiver (channel_listener, DispatchHttpListenerContext);
wait_http_ctx.WaitOne (timeout);
+ wait_http_ctx.Reset ();
lock (pending) {
HttpContextInfo ctx = pending.Count > 0 ? pending [0] : null;
if (ctx != null)