[Libevent-users] Add support for WINDOWS Overlapped IO

Kevin Sanders newroswell at gmail.com
Mon Dec 11 13:00:14 EST 2006


On 12/11/06, Zhu Han <schumi.han at gmail.com> wrote:
>
>
> On 12/11/06, Kevin Sanders <newroswell at gmail.com> wrote:
> > I'm not sure what limit your asking about.  Are you talking about the
> > GQCS milliseconds timeout value?  In any case I'm not sure.  He was
> > using his own IOCP code.
>
>  I mean the value of NumberOfConcurrentThreads when invoke
> CreateIoCompletionPort.
> What's the value for it?

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.

Kevin


More information about the Libevent-users mailing list