Title
Remove volatile atomic wait/notify functions
Status
new
Section
[atomics.wait]
Submitter
Jonathan Wakely

Created on 2026-07-17.00:00:00 last changed 5 days ago

Messages

Date: 2026-07-17.00:00:00

When LEWG looked at issue 3417 in Brno, it was suggested that instead of just deprecating (and then removing via P2866) non-lock-free wait/notify on volatile atomics, we should remove all wait/notify on volatile atomics. If the value of a volatile atomic object changes spontaneously (as volatile objects are wont to do) then threads blocked waiting for it to change will not be notified. This makes using wait/notify on volatile objects unreliable and of questionable value.

History
Date User Action Args
2026-07-17 00:00:00admincreate