Landing: dcc21c5517ee
Project / Subsystem
gcc / testsuite
Date
2026-05-02
Author
Alexandre Oliva
Commit
dcc21c5517eeaec3d41cbf7790e833f24a1f8c87
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- testsuite
- patch_id
- —
- commit_hash
- dcc21c5517eeaec3d41cbf7790e833f24a1f8c87
- source_type
- github
- headline
- Testsuite: Reorder clock::now calls in semaphore test
- tldr
- Reorders clock::now calls in a semaphore test to avoid false positives on VxWorks due to slow clock calls.
- author
- Alexandre Oliva
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • libstdc++
- • vxworks
- • threading
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-02T00:00:00.000Z
This commit reorders calls to clock::now() in the semaphore/try_acquire_until.cc test within the libstdc++ testsuite. On VxWorks, clock::now() calls can be slow, increasing the likelihood of consecutive calls returning different results. The reordering aims to prevent false positives during testing.