Landing: 0a4e2861d9ed

Project / Subsystem

gcc / libstdc++

Date

2026-07-31

Author

Patrick Palka

Commit

0a4e2861d9ed69eac1e1c69b84fd61d9e1925ff2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
—
commit_hash
0a4e2861d9ed69eac1e1c69b84fd61d9e1925ff2
source_type
github
headline
Libstdc++: Implement LWG 4301 for condition_variable.
tldr
Updates condition_variable wait methods to take timeout parameters by value, per LWG 4301.
author
Patrick Palka
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • libstdc++
  • • concurrency
  • • standard library
discussion_id_link
—
bugzilla_pr
—
date
2026-07-31T00:00:00.000Z

The wait_until and wait_for methods for std::condition_variable and std::condition_variable_any in libstdc++ have been updated to accept their timeout parameters by value. This change aligns the implementation with the resolution of Library Working Group (LWG) issue 4301, ensuring consistent behavior across different C++ standard library implementations.