[Webkit-unassigned] [Bug 43148] Investigate using an I/O completion port for WorkQueue on Windows
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 8 09:45:46 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43148
--- Comment #14 from Adam Roben (aroben) <aroben at apple.com> 2010-10-08 09:45:46 PST ---
(In reply to bug 42826 comment #7)
> I've been working on switching over to using an I/O completion port in WorkQueue. This would make it unnecessary to unregister a HANDLE; you can just close it and stop worrying.
>
> However, I'm seeing spurious reads in the web process. I.e., the web process will request 1 byte of the next message from the pipe, and then will be told that 207 bytes were read. This doesn't make any sense! Windows shouldn't be reading more than we asked it to; where would it store the data?
Maybe the problems were due to the reads completing synchronously? My recollection is that I was handling synchronous reads synchronously, but <http://blogs.msdn.com/b/oldnewthing/archive/2010/10/08/10073039.aspx> says that you can still wait for the HANDLE to be signaled. Maybe that's what we need to do.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list