Skip to content

Remove leftover code for platforms lacking clock_gettime and clockid_t#1999

Merged
axboe merged 1 commit intoaxboe:masterfrom
betonmischer86:clock_gettime
Oct 30, 2025
Merged

Remove leftover code for platforms lacking clock_gettime and clockid_t#1999
axboe merged 1 commit intoaxboe:masterfrom
betonmischer86:clock_gettime

Conversation

@betonmischer86
Copy link
Copy Markdown
Contributor

Drop the remaining workaround code for platforms lacking clock_gettime and clockid_t. Produce an error on configure if clock_gettime is unavailable.

Submitted on behalf of @sitsofe.

Copy link
Copy Markdown
Collaborator

@sitsofe sitsofe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why we saw a few CI failures so I'm just retriggering those. Other than that this looks good (but I would say that wouldn't I?) and I like the commit message body. The only thing I'd suggest is amending the commit title to something briefer like:

gettime: remove non-clock_gettime fallback code

Platforms that lack clock_gettime are de facto unsupported. Drop the
remaining workaround code and produce an error on configure if
clock_gettime is unavailable. Also remove the related workaround for
platforms lacking clockid_t.

Signed-off-by: Valeriy Kosikhin <vkosikhin@gmail.com>
Copy link
Copy Markdown
Collaborator

@sitsofe sitsofe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vincentkfu, @axboe this LGTM (and it saves a configure probe).

@axboe axboe merged commit 30c2e6e into axboe:master Oct 30, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants