summaryrefslogtreecommitdiff
path: root/absl/container/internal/btree.h
diff options
context:
space:
mode:
authorGravatar Oleg Lyovin <olegartys@gmail.com>2023-05-02 08:51:36 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-05-02 08:52:27 -0700
commitc0d58db0c0f180df38137421604f86d0fb96deab (patch)
treec5ab950b72c72d2aad326e042be9321bc353f00e /absl/container/internal/btree.h
parent502769bfc9de4e82c061c73679f10bc151b5aa08 (diff)
PR #1433: Fix incorrect timespec definition on 32-bit platforms with 64-bit time_t
Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1433 Some 32-bit configurations may use 64-bit time_t, which leads to different layout of userspace timespec and the one expected by SYS_futex implementation in kernel. In particular the issue occurs when using musl libc which has switched to unconditional 64-bit time_t definition. This patch introduces custom struct timespec with two longs when old SYS_futex is used to match the kernel timespec definition. Merge 2eaca415da825b3f31a90f58a35bdef2b6d2a6c5 into f8bf909108b3604a00590a074f2986c0895514d2 Merging this change closes #1433 COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1433 from olegartys:futex_time64_bug 2eaca415da825b3f31a90f58a35bdef2b6d2a6c5 PiperOrigin-RevId: 528796119 Change-Id: Idaa952f64bd97c6dc9703a8b44deac43e29ff9ae
Diffstat (limited to 'absl/container/internal/btree.h')
0 files changed, 0 insertions, 0 deletions