Author jkloth
Recipients ammar2, giampaolo.rodola, jkloth, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2018-07-15.14:26:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Correct.  Windows provides the building blocks for implementing getloadavg(), but does not provide an interface that does the averaging.  That is deferred to a per application basis.  The best that an application can do for that is to use thread pools.  You can think of thread pools as kernel-managed threads (different from user-managed threads via CreateThread()).

As of Win10 1703, any process linked with DLLs automatically have thread pools created for them (to parallel-ize the loading of said DLLs).  Leveraging that feature would minimize the costs incurred to do the running average.
Date User Action Args
2018-07-15 14:26:59jklothsetrecipients: + jkloth, paul.moore, vstinner, giampaolo.rodola, tim.golden, zach.ware, steve.dower, ammar2
2018-07-15 14:26:59jklothsetmessageid: <>
2018-07-15 14:26:59jklothlinkissue34060 messages
2018-07-15 14:26:59jklothcreate