Opened 15 months ago

Last modified 14 months ago

#68007 assigned defect

legacy-support: one of CLOCK_MONOTONIC_RAW and CLOCK_UPTIME_RAW is incorrect

Reported by: jmroot (Joshua Root) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: mascguy (Christopher Nielsen), catap (Kirill A. Korinsky)
Port: legacy-support

Description

Following on from https://github.com/macports/macports-legacy-support/pull/58#issuecomment-1576912010:

CLOCK_MONOTONIC_RAW is documented to increment while the system is asleep, and CLOCK_UPTIME_RAW is documented to not do that. But they currently share the same implementation in legacy-support's clock_gettime. So one of the two must be behaving incorrectly.

Change History (1)

comment:1 Changed 14 months ago by mascguy (Christopher Nielsen)

Cc: mascguy catap added
Version: 2.8.1
Note: See TracTickets for help on using tickets.