https://bugzilla.novell.com/show_bug.cgi?id=312409
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=312409#c1 John Hurliman <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #1 from John Hurliman <[EMAIL PROTECTED]> 2008-07-29 17:34:29 MDT --- ThreadPool.RegisterWaitForSingleObject() doesn't appear to be working with an IAsyncResult.AsyncWaitHandle from HttpWebRequest.BeginGetResponse() on Mono 1.9.1. Switching to IAsyncResult.AsyncWaitHandle.WaitOne() fixes the issue. In other words, using the latest mono release (on both windows and linux), if i create an HttpWebResponse and use IAsyncResult result = request.BeginGetResponse(...); ThreadPool.RegisterWaitForSingleObject(result.AsyncWaitHandle, ...); it fails to wait for the operation to complete (result.IsCompleted will be false right afterward). however if i instead use result.AsyncWaitHandle.WaitOne(); it works fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
