A question about IOCP on Windows and libuv

127 views
Skip to first unread message

Haohao Lee

unread,
Jul 13, 2018, 6:05:07 AM7/13/18
to libuv
Hi guys,

In Windows, a typical IOCP program will create a global io completion port using CreateIoCompletionPort, and use GetQueuedCompletionStatus to dequeue IO packets from a thread-pool.

My Question is: Does libuv support this kind of pattern?

After reading the source, my understanding is, every uv_loop has its own completion port, hence every thread has its own completion port (if we follow one loop per thread pattern).

Just started to learn libuv, any suggestion or explanation is appreciated.

Thanks

Hao
Reply all
Reply to author
Forward
0 new messages