Ticket #6136 (closed bug: duplicate)
gettimeofday should not be used to schedule timeouts
| Reported by: | DanielWaterworth | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6.1 |
| Component: | libraries/base | Version: | 7.4.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: | #5865 |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
