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 <>
The RegisterWaitForSingleObject() function does use the 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.
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: <>
2018-07-16 00:13:17jklothlinkissue34060 messages
2018-07-16 00:13:17jklothcreate