Skip to content

gettimeofday should not be used to schedule timeouts

From what I can tell, getCurrentTime uses gettimeofday and is used in registerTimeout for the purpose of scheduling timeouts. I recommend reading this for an explanation of why this isn't a good idea.

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information