Opened 13 months ago

Last modified 13 months ago

#25913 assigned defect

If our win32 monotonic timers are not monotonic, make them so.

Reported by: nickm Owned by: nickm
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

There's a rumor that sometimes GetTickCount64 or GetTickCount can move backwards. This is possibly due to a misunderstanding of bug #23558 (fixed with 77cc97cf0a20ed0a062a1cb87bef6c40941e4cff). But in case it isn't, we should fix it.

(QueryPerformanceCounter *can* move backwards, and we have code to handle that.)

Putting this ticket in tor:unspecified since I don't actually think we have a bug here.

Child Tickets

Change History (1)

comment:1 Changed 13 months ago by nickm

I have a branch, ratchet_gettickcount, against maint-0.2.9.

Not putting this in needs_review, since again we don't actually know we have a Windows bug to work around here.

Note: See TracTickets for help on using tickets.