Message332502
Per https://stackoverflow.com/questions/38133870/how-the-parameter-numberofconcurrentthreads-is-used-in-createiocompletionport, it seems that `NumberOfConcurrentThreads` controls what happens when multiple threads call `GetQueuedCompletionStatus`.
But since a given instance of `IocpProactor` only calls `GetQueuedCompletionStatus` from a single thread, probably this arg doesn't matter, and the value `1` would be more explicit about the pattern asyncio is using? A huge number is, presumably, either not relevant or, at worst, wasteful of some kernel resource.
Am I correct that only one thread calls `GetQueuedCompletionStatus` on a given `iocp` object in asyncio under Windows `IocpProactor`? |
|
Date |
User |
Action |
Args |
2018-12-25 01:35:57 | jeffr@livedata.com | set | recipients:
+ jeffr@livedata.com, asvetlov, yselivanov |
2018-12-25 01:35:56 | jeffr@livedata.com | set | messageid: <1545701756.1.0.712150888896.issue35580@roundup.psfhosted.org> |
2018-12-25 01:35:56 | jeffr@livedata.com | link | issue35580 messages |
2018-12-25 01:35:56 | jeffr@livedata.com | create | |
|