This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jkloth
Recipients ammar2, giampaolo.rodola, jkloth, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2018-07-16.00:13:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531699997.93.0.56676864532.issue34060@psf.upfronthosting.co.za>
In-reply-to
Content
The RegisterWaitForSingleObject() function does use the thread pool API:

https://docs.microsoft.com/en-us/windows/desktop/ProcThread/thread-pool-api

However, PdhCollectQueryDataEx() also creates a user-space thread to handle its work of setting the event whenever the timeout elapses.

I would think that it should be preferable to use a single thread pool worker to retrieve the queue length and calculate the average.
History
Date User Action Args
2018-07-16 00:13:18jklothsetrecipients: + jkloth, paul.moore, vstinner, giampaolo.rodola, tim.golden, zach.ware, steve.dower, ammar2
2018-07-16 00:13:17jklothsetmessageid: <1531699997.93.0.56676864532.issue34060@psf.upfronthosting.co.za>
2018-07-16 00:13:17jklothlinkissue34060 messages
2018-07-16 00:13:17jklothcreate