Author lunixbochs2
Recipients Dennis Sweeney, SD, eryksun, lunixbochs2, ned.deily, paul.moore, pitrou, steve.dower, tim.golden, zach.ware
Date 2021-06-06.23:58:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623023931.22.0.810430702274.issue41299@roundup.psfhosted.org>
In-reply-to
Content
Ok, I filed a PR for this. I used pytime's interface to avoid duplicating the QueryPerformanceFrequency() code.

I found a StackOverflow answer that says QueryPerformance functions will only fail if you pass in an unaligned pointer: https://stackoverflow.com/a/27258700

Per that, I used Py_FatalError to catch this case, as there is probably something wrong with the compiler at that point, and the other recovery options would be likely to result in incorrect program behavior (e.g. dead lock).
History
Date User Action Args
2021-06-06 23:58:51lunixbochs2setrecipients: + lunixbochs2, paul.moore, pitrou, tim.golden, ned.deily, zach.ware, eryksun, steve.dower, Dennis Sweeney, SD
2021-06-06 23:58:51lunixbochs2setmessageid: <1623023931.22.0.810430702274.issue41299@roundup.psfhosted.org>
2021-06-06 23:58:51lunixbochs2linkissue41299 messages
2021-06-06 23:58:51lunixbochs2create