[all-commits] [llvm/llvm-project] b342d1: [libc] add timeout and clock conversion utilities ...
Schrodinger ZHU Yifan via All-commits
all-commits at lists.llvm.org
Mon May 13 16:00:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b342d18a8f0240342ea5c461145e78c6e3af92cc
https://github.com/llvm/llvm-project/commit/b342d18a8f0240342ea5c461145e78c6e3af92cc
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/futex_utils.h
M libc/src/__support/time/linux/CMakeLists.txt
A libc/src/__support/time/linux/abs_timeout.h
A libc/src/__support/time/linux/clock_conversion.h
R libc/src/__support/time/linux/clock_gettime.cpp
M libc/src/__support/time/linux/clock_gettime.h
A libc/src/__support/time/linux/monotonicity.h
M libc/test/src/__support/CMakeLists.txt
A libc/test/src/__support/time/CMakeLists.txt
A libc/test/src/__support/time/linux/CMakeLists.txt
A libc/test/src/__support/time/linux/timeout_test.cpp
Log Message:
-----------
[libc] add timeout and clock conversion utilities (#91905)
This PR:
- Make `clock_gettime` a header-only library
- Add `clock_conversion` header library to allow conversion between
clocks relative to the time of call
- Add `timeout` header library to manage the absolute timeout used in
POSIX's timed locking/waiting APIs
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list