[Libevent-users] Add support for WINDOWS Overlapped IO

Zhu Han schumi.han at gmail.com
Tue Dec 12 00:48:19 EST 2006


On 12/12/06, Kevin Sanders <newroswell at gmail.com> wrote:
>
> On 12/11/06, Zhu Han <schumi.han at gmail.com> wrote:
>
> Ah, that's a good point.  We're pretty sure it was 0, which means
> allow as many as physical processors, but if it was 1, that would
> explain it.  Another clue with this is that if the first thread
> blocked (in our test we called Sleep(60000), one of the other IOCP
> threads would then be able to pop that sockets completion
> notification.


If the number is 0, the platform is UP and the IOCP thread never blocks at
any point, it is possible another thread will never get the chance be waken
up.

Can you reproduce the CPU affinity problem?

-- 
best regards,
hanzhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://monkeymail.org/archives/libevent-users/attachments/20061212/e8c7309c/attachment.htm


More information about the Libevent-users mailing list